#8957E3#8957E3

#8957E3 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.3% C 0.203 H 295.9°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#8957E3
RGBrgb(137, 87, 227)
HSLhsl(261, 71%, 62%)
HSVhsv(261, 62%, 89%)
CMYKcmyk(39.6%, 61.7%, 0%, 11%)
CIE-LABlab(49.11, 50.42, -64.08)
CIE-LCHlch(49.11, 81.53, 308.20°)
OKLaboklab(58.29% 0.0887 -0.1826)
OKLCHoklch(58.29% 0.203 295.9)
XYZxyz(27.5862, 17.6803, 74.6174)
Luminance0.1768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8957E3 #B1E357
analogous
#576BE3 #8957E3 #CF57E3
triadic
#8957E3 #E38957 #57E389
tetradic
#8957E3 #E3576B #B1E357 #57E3CF
square
#8957E3 #E3576B #B1E357 #57E3CF
split-complementary
#8957E3 #E3CF57 #6BE357
monochromatic
#4C1BA4 #6524D9 #8957E3 #AE8BEC #D3C0F4

Accessibility & contrast

On white

4.63
#8957E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#8957E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8957E3
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8957E3#FFFFFF#000000##FFFFFF
##8957E31.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E7
Deuteranopia (green-blind)
#0073E0
Tritanopia (blue-blind)
#727695
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8957e3;
/* rgb */ color: rgb(137, 87, 227);
/* oklch */ color: oklch(58.3% 0.203 295.9);
Tailwind
colors: {
  custom: {
    50: '#b189ed',
    500: '#8957e3',
    950: '#000000',
  },
}
SCSS
$custom: #8957e3;
$custom-light: #b189ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8957e3",
  "rgb": {
    "r": 137,
    "g": 87,
    "b": 227
  },
  "hsl": {
    "h": 261.429,
    "s": 71.429,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58288,
    "c": 0.20298,
    "h": 295.9
  },
  "luminance": 0.17681
}

Semantic roles & 50–950 ramp

primary
#8957E3
secondary
#D2E5B1
accent
#D3128E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8957E3

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

Preview Lab → · Contrast checker → · Palette generator →

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