#8959FF#8959FF

#8959FF is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.6% C 0.233 H 291.1°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8959FF
RGBrgb(137, 89, 255)
HSLhsl(257, 100%, 67%)
HSVhsv(257, 65%, 100%)
CMYKcmyk(46.3%, 65.1%, 0%, 0%)
CIE-LABlab(51.48, 56.75, -75.91)
CIE-LCHlch(51.48, 94.78, 306.78°)
OKLaboklab(60.63% 0.084 -0.2174)
OKLCHoklch(60.63% 0.233 291.1)
XYZxyz(31.9338, 19.6820, 96.7048)
Luminance0.1968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8959FF #CFFF59
analogous
#597CFF #8959FF #DC59FF
triadic
#8959FF #FF8959 #59FF89
tetradic
#8959FF #FF597C #CFFF59 #59FFDC
square
#8959FF #FF597C #CFFF59 #59FFDC
split-complementary
#8959FF #FFDC59 #7CFF59
monochromatic
#4000DE #5D1CFF #8959FF #B596FF #E0D3FF

Accessibility & contrast

On white

4.25
#8959FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#8959FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8959FF
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8959FF#FFFFFF#000000##000000
##8959FF1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#0077FC
Tritanopia (blue-blind)
#6481A5
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8959ff;
/* rgb */ color: rgb(137, 89, 255);
/* oklch */ color: oklch(60.6% 0.233 291.1);
Tailwind
colors: {
  custom: {
    50: '#b48bff',
    500: '#8959ff',
    950: '#000000',
  },
}
SCSS
$custom: #8959ff;
$custom-light: #b48bff;
$custom-dark: #000000;
JSON
{
  "hex": "#8959ff",
  "rgb": {
    "r": 137,
    "g": 89,
    "b": 255
  },
  "hsl": {
    "h": 257.349,
    "s": 100,
    "l": 67.451
  },
  "oklch": {
    "l": 0.60626,
    "c": 0.23302,
    "h": 291.1
  },
  "luminance": 0.19683
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8959FF

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

Preview Lab → · Contrast checker → · Palette generator →

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