#8951DB#8951DB

#8951DB is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 56.9% C 0.202 H 298.4°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8951DB
RGBrgb(137, 81, 219)
HSLhsl(264, 66%, 59%)
HSVhsv(264, 63%, 86%)
CMYKcmyk(37.4%, 63%, 0%, 14.1%)
CIE-LABlab(47.39, 51.52, -62.32)
CIE-LCHlch(47.39, 80.86, 309.58°)
OKLaboklab(56.87% 0.096 -0.1774)
OKLCHoklch(56.87% 0.202 298.4)
XYZxyz(26.0419, 16.3174, 68.7816)
Luminance0.1632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8951DB #A3DB51
analogous
#515EDB #8951DB #CE51DB
triadic
#8951DB #DB8951 #51DB89
tetradic
#8951DB #DB515E #A3DB51 #51DBCE
square
#8951DB #DB515E #A3DB51 #51DBCE
split-complementary
#8951DB #DBCE51 #5EDB51
monochromatic
#4E1E93 #6929C6 #8951DB #AB84E5 #CEB6F0

Accessibility & contrast

On white

4.93
#8951DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#8951DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8951DB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8951DB#FFFFFF#000000##FFFFFF
##8951DB1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#046FD8
Tritanopia (blue-blind)
#76708F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8951db;
/* rgb */ color: rgb(137, 81, 219);
/* oklch */ color: oklch(56.9% 0.202 298.4);
Tailwind
colors: {
  custom: {
    50: '#b185e7',
    500: '#8951db',
    950: '#000000',
  },
}
SCSS
$custom: #8951db;
$custom-light: #b185e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8951db",
  "rgb": {
    "r": 137,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 264.348,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.5687,
    "c": 0.20166,
    "h": 298.4
  },
  "luminance": 0.16318
}

Semantic roles & 50–950 ramp

primary
#8951DB
secondary
#C9DFA9
accent
#E93FA4
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8951DB

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

Preview Lab → · Contrast checker → · Palette generator →

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