#8959F7#8959F7

#8959F7 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.0% C 0.224 H 292.3°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8959F7
RGBrgb(137, 89, 247)
HSLhsl(258, 91%, 66%)
HSVhsv(258, 64%, 97%)
CMYKcmyk(44.5%, 64%, 0%, 3.1%)
CIE-LABlab(50.89, 54.62, -72.41)
CIE-LCHlch(50.89, 90.70, 307.03°)
OKLaboklab(60.02% 0.0849 -0.2071)
OKLCHoklch(60.02% 0.224 292.3)
XYZxyz(30.6728, 19.1775, 90.0632)
Luminance0.1918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8959F7 #C7F759
analogous
#5978F7 #8959F7 #D859F7
triadic
#8959F7 #F78959 #59F789
tetradic
#8959F7 #F75978 #C7F759 #59F7D8
square
#8959F7 #F75978 #C7F759 #59F7D8
split-complementary
#8959F7 #F7D859 #78F759
monochromatic
#450ACC #5F1FF4 #8959F7 #B393FA #DCCEFD

Accessibility & contrast

On white

4.34
#8959F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#8959F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8959F7
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8959F7#FFFFFF#000000##000000
##8959F71.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFC
Deuteranopia (green-blind)
#0076F4
Tritanopia (blue-blind)
#697FA0
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8959f7;
/* rgb */ color: rgb(137, 89, 247);
/* oklch */ color: oklch(60.0% 0.224 292.3);
Tailwind
colors: {
  custom: {
    50: '#b38afb',
    500: '#8959f7',
    950: '#000000',
  },
}
SCSS
$custom: #8959f7;
$custom-light: #b38afb;
$custom-dark: #000000;
JSON
{
  "hex": "#8959f7",
  "rgb": {
    "r": 137,
    "g": 89,
    "b": 247
  },
  "hsl": {
    "h": 258.228,
    "s": 90.805,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60024,
    "c": 0.22379,
    "h": 292.3
  },
  "luminance": 0.19179
}

Semantic roles & 50–950 ramp

primary
#8959F7
secondary
#E0F0BC
accent
#E600A0
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8959F7

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

Preview Lab → · Contrast checker → · Palette generator →

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