#8951CF#8951CF

#8951CF is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.0% C 0.188 H 301.0°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8951CF
RGBrgb(137, 81, 207)
HSLhsl(267, 57%, 56%)
HSVhsv(267, 61%, 81%)
CMYKcmyk(33.8%, 60.9%, 0%, 18.8%)
CIE-LABlab(46.59, 48.51, -56.75)
CIE-LCHlch(46.59, 74.65, 310.53°)
OKLaboklab(56.04% 0.0967 -0.161)
OKLCHoklch(56.04% 0.188 301)
XYZxyz(24.5188, 15.7081, 60.7596)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8951CF #97CF51
analogous
#5158CF #8951CF #C851CF
triadic
#8951CF #CF8951 #51CF89
tetradic
#8951CF #CF5158 #97CF51 #51CFC8
square
#8951CF #CF5158 #97CF51 #51CFC8
split-complementary
#8951CF #CFC851 #58CF51
monochromatic
#4E2482 #6A31B2 #8951CF #AA81DC #CAB1E9

Accessibility & contrast

On white

5.07
#8951CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#8951CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8951CF
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8951CF#FFFFFF#000000##FFFFFF
##8951CF1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#276ECC
Tritanopia (blue-blind)
#7A6C88
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8951cf;
/* rgb */ color: rgb(137, 81, 207);
/* oklch */ color: oklch(56.0% 0.188 301.0);
Tailwind
colors: {
  custom: {
    50: '#b084de',
    500: '#8951cf',
    950: '#000000',
  },
}
SCSS
$custom: #8951cf;
$custom-light: #b084de;
$custom-dark: #000000;
JSON
{
  "hex": "#8951cf",
  "rgb": {
    "r": 137,
    "g": 81,
    "b": 207
  },
  "hsl": {
    "h": 266.667,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56037,
    "c": 0.1878,
    "h": 301
  },
  "luminance": 0.15708
}

Semantic roles & 50–950 ramp

primary
#8951CF
secondary
#C1D8A4
accent
#E0489C
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8951CF

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

Preview Lab → · Contrast checker → · Palette generator →

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