#8957F6#8957F6

#8957F6 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.7% C 0.225 H 292.7°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8957F6
RGBrgb(137, 87, 246)
HSLhsl(259, 90%, 65%)
HSVhsv(259, 65%, 96%)
CMYKcmyk(44.3%, 64.6%, 0%, 3.5%)
CIE-LABlab(50.44, 55.40, -72.59)
CIE-LCHlch(50.44, 91.31, 307.35°)
OKLaboklab(59.67% 0.087 -0.2076)
OKLCHoklch(59.67% 0.225 292.7)
XYZxyz(30.3547, 18.7876, 89.1979)
Luminance0.1879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8957F6 #C4F657
analogous
#5774F6 #8957F6 #D957F6
triadic
#8957F6 #F68957 #57F689
tetradic
#8957F6 #F65774 #C4F657 #57F6D9
square
#8957F6 #F65774 #C4F657 #57F6D9
split-complementary
#8957F6 #F6D957 #74F657
monochromatic
#460BC8 #601DF3 #8957F6 #B291F9 #DBCBFC

Accessibility & contrast

On white

4.41
#8957F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#8957F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8957F6
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8957F6#FFFFFF#000000##000000
##8957F61.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFB
Deuteranopia (green-blind)
#0075F3
Tritanopia (blue-blind)
#697D9F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8957f6;
/* rgb */ color: rgb(137, 87, 246);
/* oklch */ color: oklch(59.7% 0.225 292.7);
Tailwind
colors: {
  custom: {
    50: '#b389fa',
    500: '#8957f6',
    950: '#000000',
  },
}
SCSS
$custom: #8957f6;
$custom-light: #b389fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8957f6",
  "rgb": {
    "r": 137,
    "g": 87,
    "b": 246
  },
  "hsl": {
    "h": 258.868,
    "s": 89.831,
    "l": 65.294
  },
  "oklch": {
    "l": 0.59672,
    "c": 0.22508,
    "h": 292.7
  },
  "luminance": 0.18789
}

Semantic roles & 50–950 ramp

primary
#8957F6
secondary
#DEEFBA
accent
#E6009D
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8957F6

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

Preview Lab → · Contrast checker → · Palette generator →

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