#8950D5#8950D5

#8950D5 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.3% C 0.196 H 299.8°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8950D5
RGBrgb(137, 80, 213)
HSLhsl(266, 61%, 57%)
HSVhsv(266, 62%, 84%)
CMYKcmyk(35.7%, 62.4%, 0%, 16.5%)
CIE-LABlab(46.79, 50.53, -59.86)
CIE-LCHlch(46.79, 78.34, 310.17°)
OKLaboklab(56.31% 0.0975 -0.1701)
OKLCHoklch(56.31% 0.196 299.8)
XYZxyz(25.1925, 15.8596, 64.6718)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8950D5 #9CD550
analogous
#505AD5 #8950D5 #CB50D5
triadic
#8950D5 #D58950 #50D589
tetradic
#8950D5 #D5505A #9CD550 #50D5CB
square
#8950D5 #D5505A #9CD550 #50D5CB
split-complementary
#8950D5 #D5CB50 #5AD550
monochromatic
#4E218A #6A2DBB #8950D5 #AA81E1 #CCB3ED

Accessibility & contrast

On white

5.03
#8950D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#8950D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8950D5
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8950D5#FFFFFF#000000##FFFFFF
##8950D51.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD9
Deuteranopia (green-blind)
#186ED2
Tritanopia (blue-blind)
#786D8B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8950d5;
/* rgb */ color: rgb(137, 80, 213);
/* oklch */ color: oklch(56.3% 0.196 299.8);
Tailwind
colors: {
  custom: {
    50: '#b084e3',
    500: '#8950d5',
    950: '#000000',
  },
}
SCSS
$custom: #8950d5;
$custom-light: #b084e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8950d5",
  "rgb": {
    "r": 137,
    "g": 80,
    "b": 213
  },
  "hsl": {
    "h": 265.714,
    "s": 61.29,
    "l": 57.451
  },
  "oklch": {
    "l": 0.56308,
    "c": 0.19612,
    "h": 299.8
  },
  "luminance": 0.1586
}

Semantic roles & 50–950 ramp

primary
#8950D5
secondary
#C4DBA6
accent
#E4439F
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B15
muted
#807C84

Preview Lab

Preview with #8950D5

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

Preview Lab → · Contrast checker → · Palette generator →

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