#8957EA#8957EA

#8957EA is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.8% C 0.211 H 294.7°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8957EA
RGBrgb(137, 87, 234)
HSLhsl(260, 78%, 63%)
HSVhsv(260, 63%, 92%)
CMYKcmyk(41.5%, 62.8%, 0%, 8.2%)
CIE-LABlab(49.59, 52.24, -67.25)
CIE-LCHlch(49.59, 85.16, 307.84°)
OKLaboklab(58.79% 0.0882 -0.1919)
OKLCHoklch(58.79% 0.211 294.7)
XYZxyz(28.5720, 18.0746, 79.8093)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8957EA #B8EA57
analogous
#576EEA #8957EA #D257EA
triadic
#8957EA #EA8957 #57EA89
tetradic
#8957EA #EA576E #B8EA57 #57EAD2
square
#8957EA #EA576E #B8EA57 #57EAD2
split-complementary
#8957EA #EAD257 #6EEA57
monochromatic
#4B16B1 #6321E3 #8957EA #AF8DF1 #D5C4F8

Accessibility & contrast

On white

4.55
#8957EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#8957EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8957EA
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8957EA#FFFFFF#000000##000000
##8957EA1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EF
Deuteranopia (green-blind)
#0074E7
Tritanopia (blue-blind)
#6F7999
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8957ea;
/* rgb */ color: rgb(137, 87, 234);
/* oklch */ color: oklch(58.8% 0.211 294.7);
Tailwind
colors: {
  custom: {
    50: '#b289f2',
    500: '#8957ea',
    950: '#000000',
  },
}
SCSS
$custom: #8957ea;
$custom-light: #b289f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8957ea",
  "rgb": {
    "r": 137,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 260.408,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.58789,
    "c": 0.21118,
    "h": 294.7
  },
  "luminance": 0.18075
}

Semantic roles & 50–950 ramp

primary
#8957EA
secondary
#D7E9B4
accent
#DA0B94
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8957EA

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

Preview Lab → · Contrast checker → · Palette generator →

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