#8959FE#8959FE

#8959FE is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.6% C 0.232 H 291.3°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8959FE
RGBrgb(137, 89, 254)
HSLhsl(257, 99%, 67%)
HSVhsv(257, 65%, 100%)
CMYKcmyk(46.1%, 65%, 0%, 0.4%)
CIE-LABlab(51.40, 56.49, -75.47)
CIE-LCHlch(51.40, 94.27, 306.81°)
OKLaboklab(60.55% 0.0841 -0.2161)
OKLCHoklch(60.55% 0.232 291.3)
XYZxyz(31.7733, 19.6177, 95.8592)
Luminance0.1962 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8959FE #CEFE59
analogous
#597BFE #8959FE #DC59FE
triadic
#8959FE #FE8959 #59FE89
tetradic
#8959FE #FE597B #CEFE59 #59FEDC
square
#8959FE #FE597B #CEFE59 #59FEDC
split-complementary
#8959FE #FEDC59 #7BFE59
monochromatic
#4101DB #5E1CFE #8959FE #B496FE #DFD3FF

Accessibility & contrast

On white

4.26
#8959FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#8959FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8959FE
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8959FE#FFFFFF#000000##000000
##8959FE1.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#0077FB
Tritanopia (blue-blind)
#6581A4
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8959fe;
/* rgb */ color: rgb(137, 89, 254);
/* oklch */ color: oklch(60.6% 0.232 291.3);
Tailwind
colors: {
  custom: {
    50: '#b48bff',
    500: '#8959fe',
    950: '#000000',
  },
}
SCSS
$custom: #8959fe;
$custom-light: #b48bff;
$custom-dark: #000000;
JSON
{
  "hex": "#8959fe",
  "rgb": {
    "r": 137,
    "g": 89,
    "b": 254
  },
  "hsl": {
    "h": 257.455,
    "s": 98.802,
    "l": 67.255
  },
  "oklch": {
    "l": 0.6055,
    "c": 0.23187,
    "h": 291.3
  },
  "luminance": 0.19619
}

Semantic roles & 50–950 ramp

primary
#8959FE
secondary
#E4F3BF
accent
#E600A3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8959FE

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

Preview Lab → · Contrast checker → · Palette generator →

#8959FE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva