#8959DF#8959DF

#8959DF is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.3% C 0.196 H 296.3°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8959DF
RGBrgb(137, 89, 223)
HSLhsl(261, 68%, 61%)
HSVhsv(261, 60%, 87%)
CMYKcmyk(38.6%, 60.1%, 0%, 12.5%)
CIE-LABlab(49.24, 48.30, -61.60)
CIE-LCHlch(49.24, 78.28, 308.10°)
OKLaboklab(58.3% 0.0867 -0.1753)
OKLCHoklch(58.3% 0.196 296.3)
XYZxyz(27.2047, 17.7903, 71.7983)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8959DF #AFDF59
analogous
#596CDF #8959DF #CC59DF
triadic
#8959DF #DF8959 #59DF89
tetradic
#8959DF #DF596C #AFDF59 #59DFCC
square
#8959DF #DF596C #AFDF59 #59DFCC
split-complementary
#8959DF #DFCC59 #6CDF59
monochromatic
#4D1F9F #6529D2 #8959DF #AD8CE9 #D2C0F3

Accessibility & contrast

On white

4.61
#8959DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#8959DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8959DF
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8959DF#FFFFFF#000000##FFFFFF
##8959DF1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E3
Deuteranopia (green-blind)
#1973DC
Tritanopia (blue-blind)
#747694
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8959df;
/* rgb */ color: rgb(137, 89, 223);
/* oklch */ color: oklch(58.3% 0.196 296.3);
Tailwind
colors: {
  custom: {
    50: '#b18aea',
    500: '#8959df',
    950: '#000000',
  },
}
SCSS
$custom: #8959df;
$custom-light: #b18aea;
$custom-dark: #000000;
JSON
{
  "hex": "#8959df",
  "rgb": {
    "r": 137,
    "g": 89,
    "b": 223
  },
  "hsl": {
    "h": 261.493,
    "s": 67.677,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58302,
    "c": 0.19554,
    "h": 296.3
  },
  "luminance": 0.17791
}

Semantic roles & 50–950 ramp

primary
#8959DF
secondary
#D1E3B1
accent
#D0168D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8959DF

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

Preview Lab → · Contrast checker → · Palette generator →

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