#8957EF#8957EF

#8957EF is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.2% C 0.217 H 293.8°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8957EF
RGBrgb(137, 87, 239)
HSLhsl(260, 83%, 64%)
HSVhsv(260, 64%, 94%)
CMYKcmyk(42.7%, 63.6%, 0%, 6.3%)
CIE-LABlab(49.94, 53.55, -69.49)
CIE-LCHlch(49.94, 87.73, 307.62°)
OKLaboklab(59.15% 0.0877 -0.1985)
OKLCHoklch(59.15% 0.217 293.8)
XYZxyz(29.3005, 18.3660, 83.6458)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8957EF #BDEF57
analogous
#5771EF #8957EF #D557EF
triadic
#8957EF #EF8957 #57EF89
tetradic
#8957EF #EF5771 #BDEF57 #57EFD5
square
#8957EF #EF5771 #BDEF57 #57EFD5
split-complementary
#8957EF #EFD557 #71EF57
monochromatic
#4912BA #621FEA #8957EF #B08FF4 #D7C7FA

Accessibility & contrast

On white

4.49
#8957EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#8957EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8957EF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8957EF#FFFFFF#000000##000000
##8957EF1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F4
Deuteranopia (green-blind)
#0074EC
Tritanopia (blue-blind)
#6D7B9B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8957ef;
/* rgb */ color: rgb(137, 87, 239);
/* oklch */ color: oklch(59.2% 0.217 293.8);
Tailwind
colors: {
  custom: {
    50: '#b289f5',
    500: '#8957ef',
    950: '#000000',
  },
}
SCSS
$custom: #8957ef;
$custom-light: #b289f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8957ef",
  "rgb": {
    "r": 137,
    "g": 87,
    "b": 239
  },
  "hsl": {
    "h": 259.737,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.59153,
    "c": 0.217,
    "h": 293.8
  },
  "luminance": 0.18367
}

Semantic roles & 50–950 ramp

primary
#8957EF
secondary
#DAECB6
accent
#DF0698
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8957EF

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

Preview Lab → · Contrast checker → · Palette generator →

#8957EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva