#8959CF#8959CF

#8959CF is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.2% C 0.176 H 299.6°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8959CF
RGBrgb(137, 89, 207)
HSLhsl(264, 55%, 58%)
HSVhsv(264, 57%, 81%)
CMYKcmyk(33.8%, 57%, 0%, 18.8%)
CIE-LABlab(48.22, 44.18, -54.12)
CIE-LCHlch(48.22, 69.87, 309.23°)
OKLaboklab(57.23% 0.087 -0.1533)
OKLCHoklch(57.23% 0.176 299.6)
XYZxyz(25.1487, 16.9679, 60.9696)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8959CF #9FCF59
analogous
#5964CF #8959CF #C459CF
triadic
#8959CF #CF8959 #59CF89
tetradic
#8959CF #CF5964 #9FCF59 #59CFC4
square
#8959CF #CF5964 #9FCF59 #59CFC4
split-complementary
#8959CF #CFC459 #64CF59
monochromatic
#4E2787 #6935B6 #8959CF #AB88DD #CCB8EA

Accessibility & contrast

On white

4.78
#8959CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#8959CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8959CF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8959CF#FFFFFF#000000##FFFFFF
##8959CF1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2172D3
Deuteranopia (green-blind)
#3572CC
Tritanopia (blue-blind)
#7A718B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8959cf;
/* rgb */ color: rgb(137, 89, 207);
/* oklch */ color: oklch(57.2% 0.176 299.6);
Tailwind
colors: {
  custom: {
    50: '#af8ade',
    500: '#8959cf',
    950: '#000000',
  },
}
SCSS
$custom: #8959cf;
$custom-light: #af8ade;
$custom-dark: #000000;
JSON
{
  "hex": "#8959cf",
  "rgb": {
    "r": 137,
    "g": 89,
    "b": 207
  },
  "hsl": {
    "h": 264.407,
    "s": 55.14,
    "l": 58.039
  },
  "oklch": {
    "l": 0.57228,
    "c": 0.17628,
    "h": 299.6
  },
  "luminance": 0.16968
}

Semantic roles & 50–950 ramp

primary
#8959CF
secondary
#C6D9AA
accent
#DE49A2
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8959CF

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

Preview Lab → · Contrast checker → · Palette generator →

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