#8957F2#8957F2

#8957F2 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.4% C 0.220 H 293.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8957F2
RGBrgb(137, 87, 242)
HSLhsl(259, 86%, 65%)
HSVhsv(259, 64%, 95%)
CMYKcmyk(43.4%, 64%, 0%, 5.1%)
CIE-LABlab(50.15, 54.34, -70.82)
CIE-LCHlch(50.15, 89.27, 307.50°)
OKLaboklab(59.37% 0.0874 -0.2024)
OKLCHoklch(59.37% 0.22 293.4)
XYZxyz(29.7474, 18.5447, 85.9993)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8957F2 #C0F257
analogous
#5773F2 #8957F2 #D757F2
triadic
#8957F2 #F28957 #57F289
tetradic
#8957F2 #F25773 #C0F257 #57F2D7
square
#8957F2 #F25773 #C0F257 #57F2D7
split-complementary
#8957F2 #F2D757 #73F257
monochromatic
#480FC0 #611EEE #8957F2 #B190F6 #D9C9FB

Accessibility & contrast

On white

4.46
#8957F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#8957F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8957F2
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8957F2#FFFFFF#000000##000000
##8957F21.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F7
Deuteranopia (green-blind)
#0074EF
Tritanopia (blue-blind)
#6B7C9D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8957f2;
/* rgb */ color: rgb(137, 87, 242);
/* oklch */ color: oklch(59.4% 0.220 293.4);
Tailwind
colors: {
  custom: {
    50: '#b389f7',
    500: '#8957f2',
    950: '#000000',
  },
}
SCSS
$custom: #8957f2;
$custom-light: #b389f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8957f2",
  "rgb": {
    "r": 137,
    "g": 87,
    "b": 242
  },
  "hsl": {
    "h": 259.355,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.59374,
    "c": 0.22047,
    "h": 293.4
  },
  "luminance": 0.18546
}

Semantic roles & 50–950 ramp

primary
#8957F2
secondary
#DCEDB8
accent
#E2039A
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8957F2

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

Preview Lab → · Contrast checker → · Palette generator →

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