#8951C8#8951C8

#8951C8 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.6% C 0.180 H 302.6°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8951C8
RGBrgb(137, 81, 200)
HSLhsl(268, 52%, 55%)
HSVhsv(268, 60%, 78%)
CMYKcmyk(31.5%, 59.5%, 0%, 21.6%)
CIE-LABlab(46.14, 46.78, -53.44)
CIE-LCHlch(46.14, 71.02, 311.20°)
OKLaboklab(55.57% 0.0969 -0.1513)
OKLCHoklch(55.57% 0.18 302.6)
XYZxyz(23.6819, 15.3733, 56.3521)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8951C8 #90C851
analogous
#5155C8 #8951C8 #C451C8
triadic
#8951C8 #C88951 #51C889
tetradic
#8951C8 #C85155 #90C851 #51C8C4
square
#8951C8 #C85155 #90C851 #51C8C4
split-complementary
#8951C8 #C8C451 #55C851
monochromatic
#4D2679 #6B35A7 #8951C8 #A980D7 #C8AEE5

Accessibility & contrast

On white

5.15
#8951C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#8951C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8951C8
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8951C8#FFFFFF#000000##FFFFFF
##8951C81.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#136CCC
Deuteranopia (green-blind)
#316DC5
Tritanopia (blue-blind)
#7D6985
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8951c8;
/* rgb */ color: rgb(137, 81, 200);
/* oklch */ color: oklch(55.6% 0.180 302.6);
Tailwind
colors: {
  custom: {
    50: '#af84d9',
    500: '#8951c8',
    950: '#000000',
  },
}
SCSS
$custom: #8951c8;
$custom-light: #af84d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8951c8",
  "rgb": {
    "r": 137,
    "g": 81,
    "b": 200
  },
  "hsl": {
    "h": 268.235,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55567,
    "c": 0.17965,
    "h": 302.6
  },
  "luminance": 0.15373
}

Semantic roles & 50–950 ramp

primary
#8951C8
secondary
#BCD3A1
accent
#DB4C98
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8951C8

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

Preview Lab → · Contrast checker → · Palette generator →

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