#8950DC#8950DC

#8950DC is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.8% C 0.204 H 298.4°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8950DC
RGBrgb(137, 80, 220)
HSLhsl(264, 67%, 59%)
HSVhsv(264, 64%, 86%)
CMYKcmyk(37.7%, 63.6%, 0%, 13.7%)
CIE-LABlab(47.27, 52.30, -63.08)
CIE-LCHlch(47.27, 81.94, 309.66°)
OKLaboklab(56.8% 0.097 -0.1796)
OKLCHoklch(56.8% 0.204 298.4)
XYZxyz(26.1002, 16.2226, 69.4525)
Luminance0.1622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8950DC #A3DC50
analogous
#505DDC #8950DC #CF50DC
triadic
#8950DC #DC8950 #50DC89
tetradic
#8950DC #DC505D #A3DC50 #50DCCF
square
#8950DC #DC505D #A3DC50 #50DCCF
split-complementary
#8950DC #DCCF50 #5DDC50
monochromatic
#4E1E94 #6928C7 #8950DC #AB83E6 #CEB6F0

Accessibility & contrast

On white

4.95
#8950DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#8950DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8950DC
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8950DC#FFFFFF#000000##FFFFFF
##8950DC1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E0
Deuteranopia (green-blind)
#006FD9
Tritanopia (blue-blind)
#76708F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8950dc;
/* rgb */ color: rgb(137, 80, 220);
/* oklch */ color: oklch(56.8% 0.204 298.4);
Tailwind
colors: {
  custom: {
    50: '#b184e8',
    500: '#8950dc',
    950: '#000000',
  },
}
SCSS
$custom: #8950dc;
$custom-light: #b184e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8950dc",
  "rgb": {
    "r": 137,
    "g": 80,
    "b": 220
  },
  "hsl": {
    "h": 264.429,
    "s": 66.667,
    "l": 58.824
  },
  "oklch": {
    "l": 0.56803,
    "c": 0.20414,
    "h": 298.4
  },
  "luminance": 0.16223
}

Semantic roles & 50–950 ramp

primary
#8950DC
secondary
#C9DFA8
accent
#EA3EA4
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8950DC

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

Preview Lab → · Contrast checker → · Palette generator →

#8950DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva