#8959CB#8959CB

#8959CB is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.0% C 0.171 H 300.5°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8959CB
RGBrgb(137, 89, 203)
HSLhsl(265, 52%, 57%)
HSVhsv(265, 56%, 80%)
CMYKcmyk(32.5%, 56.2%, 0%, 20.4%)
CIE-LABlab(47.98, 43.17, -52.22)
CIE-LCHlch(47.98, 67.75, 309.58°)
OKLaboklab(56.97% 0.087 -0.1477)
OKLCHoklch(56.97% 0.171 300.5)
XYZxyz(24.6658, 16.7748, 58.4267)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8959CB #9BCB59
analogous
#5962CB #8959CB #C259CB
triadic
#8959CB #CB8959 #59CB89
tetradic
#8959CB #CB5962 #9BCB59 #59CBC2
square
#8959CB #CB5962 #9BCB59 #59CBC2
split-complementary
#8959CB #CBC259 #62CB59
monochromatic
#4E2881 #6A37B0 #8959CB #AA88DA #CBB6E8

Accessibility & contrast

On white

4.82
#8959CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#8959CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8959CB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8959CB#FFFFFF#000000##FFFFFF
##8959CB1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2871CF
Deuteranopia (green-blind)
#3A71C8
Tritanopia (blue-blind)
#7B7089
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8959cb;
/* rgb */ color: rgb(137, 89, 203);
/* oklch */ color: oklch(57.0% 0.171 300.5);
Tailwind
colors: {
  custom: {
    50: '#af8adb',
    500: '#8959cb',
    950: '#000000',
  },
}
SCSS
$custom: #8959cb;
$custom-light: #af8adb;
$custom-dark: #000000;
JSON
{
  "hex": "#8959cb",
  "rgb": {
    "r": 137,
    "g": 89,
    "b": 203
  },
  "hsl": {
    "h": 265.263,
    "s": 52.294,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5697,
    "c": 0.17142,
    "h": 300.5
  },
  "luminance": 0.16775
}

Semantic roles & 50–950 ramp

primary
#8959CB
secondary
#C4D7A9
accent
#DC4C9F
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8959CB

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

Preview Lab → · Contrast checker → · Palette generator →

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