#8951BE#8951BE

#8951BE is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.9% C 0.168 H 305.2°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#8951BE
RGBrgb(137, 81, 190)
HSLhsl(271, 46%, 53%)
HSVhsv(271, 57%, 75%)
CMYKcmyk(27.9%, 57.4%, 0%, 25.5%)
CIE-LABlab(45.53, 44.34, -48.63)
CIE-LCHlch(45.53, 65.81, 312.36°)
OKLaboklab(54.92% 0.0969 -0.1372)
OKLCHoklch(54.92% 0.168 305.2)
XYZxyz(22.5512, 14.9211, 50.3972)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8951BE #86BE51
analogous
#5251BE #8951BE #BE51BC
triadic
#8951BE #BE8951 #51BE89
tetradic
#8951BE #BE5251 #86BE51 #51BCBE
square
#8951BE #BE5251 #86BE51 #51BCBE
split-complementary
#8951BE #BCBE51 #51BE52
monochromatic
#4B286C #6A3999 #8951BE #A77ECF #C5AADF

Accessibility & contrast

On white

5.27
#8951BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#8951BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8951BE
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8951BE#FFFFFF#000000##FFFFFF
##8951BE1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#266AC2
Deuteranopia (green-blind)
#3C6CBB
Tritanopia (blue-blind)
#806680
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8951be;
/* rgb */ color: rgb(137, 81, 190);
/* oklch */ color: oklch(54.9% 0.168 305.2);
Tailwind
colors: {
  custom: {
    50: '#af84d2',
    500: '#8951be',
    950: '#000000',
  },
}
SCSS
$custom: #8951be;
$custom-light: #af84d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8951be",
  "rgb": {
    "r": 137,
    "g": 81,
    "b": 190
  },
  "hsl": {
    "h": 270.826,
    "s": 45.607,
    "l": 53.137
  },
  "oklch": {
    "l": 0.5492,
    "c": 0.16795,
    "h": 305.2
  },
  "luminance": 0.14921
}

Semantic roles & 50–950 ramp

primary
#8951BE
secondary
#B5CD9E
accent
#D55392
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8951BE

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#8951BE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva