#8950D9#8950D9

#8950D9 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.6% C 0.201 H 299.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8950D9
RGBrgb(137, 80, 217)
HSLhsl(265, 64%, 58%)
HSVhsv(265, 63%, 85%)
CMYKcmyk(36.9%, 63.1%, 0%, 14.9%)
CIE-LABlab(47.06, 51.54, -61.71)
CIE-LCHlch(47.06, 80.40, 309.87°)
OKLaboklab(56.59% 0.0972 -0.1756)
OKLCHoklch(56.59% 0.201 299)
XYZxyz(25.7065, 16.0651, 67.3787)
Luminance0.1606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8950D9 #A0D950
analogous
#505BD9 #8950D9 #CE50D9
triadic
#8950D9 #D98950 #50D989
tetradic
#8950D9 #D9505B #A0D950 #50D9CE
square
#8950D9 #D9505B #A0D950 #50D9CE
split-complementary
#8950D9 #D9CE50 #5BD950
monochromatic
#4E1F8F #692AC2 #8950D9 #AB82E4 #CDB5EF

Accessibility & contrast

On white

4.98
#8950D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#8950D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8950D9
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8950D9#FFFFFF#000000##FFFFFF
##8950D91.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DD
Deuteranopia (green-blind)
#096ED6
Tritanopia (blue-blind)
#776F8D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8950d9;
/* rgb */ color: rgb(137, 80, 217);
/* oklch */ color: oklch(56.6% 0.201 299.0);
Tailwind
colors: {
  custom: {
    50: '#b184e6',
    500: '#8950d9',
    950: '#000000',
  },
}
SCSS
$custom: #8950d9;
$custom-light: #b184e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8950d9",
  "rgb": {
    "r": 137,
    "g": 80,
    "b": 217
  },
  "hsl": {
    "h": 264.964,
    "s": 64.319,
    "l": 58.235
  },
  "oklch": {
    "l": 0.5659,
    "c": 0.2007,
    "h": 299
  },
  "luminance": 0.16065
}

Semantic roles & 50–950 ramp

primary
#8950D9
secondary
#C7DEA7
accent
#E740A2
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8950D9

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

Preview Lab → · Contrast checker → · Palette generator →

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