#8950E1#8950E1

#8950E1 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.2% C 0.210 H 297.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8950E1
RGBrgb(137, 80, 225)
HSLhsl(264, 71%, 60%)
HSVhsv(264, 64%, 88%)
CMYKcmyk(39.1%, 64.4%, 0%, 11.8%)
CIE-LABlab(47.61, 53.56, -65.36)
CIE-LCHlch(47.61, 84.51, 309.33°)
OKLaboklab(57.16% 0.0965 -0.1863)
OKLCHoklch(57.16% 0.21 297.4)
XYZxyz(26.7723, 16.4915, 72.9922)
Luminance0.1649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8950E1 #A8E150
analogous
#5060E1 #8950E1 #D150E1
triadic
#8950E1 #E18950 #50E189
tetradic
#8950E1 #E15060 #A8E150 #50E1D1
square
#8950E1 #E15060 #A8E150 #50E1D1
split-complementary
#8950E1 #E1D150 #60E150
monochromatic
#4D1B9C #6724D0 #8950E1 #AC84EA #CFB8F3

Accessibility & contrast

On white

4.89
#8950E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#8950E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8950E1
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8950E1#FFFFFF#000000##FFFFFF
##8950E11.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E5
Deuteranopia (green-blind)
#006FDE
Tritanopia (blue-blind)
#747192
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8950e1;
/* rgb */ color: rgb(137, 80, 225);
/* oklch */ color: oklch(57.2% 0.210 297.4);
Tailwind
colors: {
  custom: {
    50: '#b184eb',
    500: '#8950e1',
    950: '#000000',
  },
}
SCSS
$custom: #8950e1;
$custom-light: #b184eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8950e1",
  "rgb": {
    "r": 137,
    "g": 80,
    "b": 225
  },
  "hsl": {
    "h": 263.586,
    "s": 70.732,
    "l": 59.804
  },
  "oklch": {
    "l": 0.57164,
    "c": 0.20984,
    "h": 297.4
  },
  "luminance": 0.16492
}

Semantic roles & 50–950 ramp

primary
#8950E1
secondary
#CCE2AA
accent
#ED3AA7
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8950E1

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

Preview Lab → · Contrast checker → · Palette generator →

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