#8950E2#8950E2

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

Color values

HEX#8950E2
RGBrgb(137, 80, 226)
HSLhsl(263, 72%, 60%)
HSVhsv(263, 65%, 89%)
CMYKcmyk(39.4%, 64.6%, 0%, 11.4%)
CIE-LABlab(47.68, 53.82, -65.81)
CIE-LCHlch(47.68, 85.02, 309.27°)
OKLaboklab(57.24% 0.0964 -0.1877)
OKLCHoklch(57.24% 0.211 297.2)
XYZxyz(26.9091, 16.5462, 73.7128)
Luminance0.1655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8950E2 #A9E250
analogous
#5060E2 #8950E2 #D250E2
triadic
#8950E2 #E28950 #50E289
tetradic
#8950E2 #E25060 #A9E250 #50E2D2
square
#8950E2 #E25060 #A9E250 #50E2D2
split-complementary
#8950E2 #E2D250 #60E250
monochromatic
#4D1A9E #6723D2 #8950E2 #AC84EB #D0B9F3

Accessibility & contrast

On white

4.87
#8950E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#8950E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8950E2
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8950E2#FFFFFF#000000##FFFFFF
##8950E21.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E7
Deuteranopia (green-blind)
#006FDF
Tritanopia (blue-blind)
#737292
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8950e2;
/* rgb */ color: rgb(137, 80, 226);
/* oklch */ color: oklch(57.2% 0.211 297.2);
Tailwind
colors: {
  custom: {
    50: '#b184ec',
    500: '#8950e2',
    950: '#000000',
  },
}
SCSS
$custom: #8950e2;
$custom-light: #b184ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8950e2",
  "rgb": {
    "r": 137,
    "g": 80,
    "b": 226
  },
  "hsl": {
    "h": 263.425,
    "s": 71.569,
    "l": 60
  },
  "oklch": {
    "l": 0.57237,
    "c": 0.21097,
    "h": 297.2
  },
  "luminance": 0.16547
}

Semantic roles & 50–950 ramp

primary
#8950E2
secondary
#CDE3AB
accent
#EE39A8
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8950E2

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

Preview Lab → · Contrast checker → · Palette generator →

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