#8957DC#8957DC

#8957DC is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.8% C 0.195 H 297.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8957DC
RGBrgb(137, 87, 220)
HSLhsl(263, 66%, 60%)
HSVhsv(263, 60%, 86%)
CMYKcmyk(37.7%, 60.5%, 0%, 13.7%)
CIE-LABlab(48.64, 48.60, -60.87)
CIE-LCHlch(48.64, 77.89, 308.61°)
OKLaboklab(57.8% 0.0891 -0.1731)
OKLCHoklch(57.8% 0.195 297.2)
XYZxyz(26.6397, 17.3016, 69.6323)
Luminance0.1730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8957DC #AADC57
analogous
#5768DC #8957DC #CB57DC
triadic
#8957DC #DC8957 #57DC89
tetradic
#8957DC #DC5768 #AADC57 #57DCCB
square
#8957DC #DC5768 #AADC57 #57DCCB
split-complementary
#8957DC #DCCB57 #68DC57
monochromatic
#4D2099 #672ACB #8957DC #AD8AE7 #D0BCF1

Accessibility & contrast

On white

4.71
#8957DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#8957DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8957DC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8957DC#FFFFFF#000000##FFFFFF
##8957DC1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#1B72D9
Tritanopia (blue-blind)
#757491
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8957dc;
/* rgb */ color: rgb(137, 87, 220);
/* oklch */ color: oklch(57.8% 0.195 297.2);
Tailwind
colors: {
  custom: {
    50: '#b189e8',
    500: '#8957dc',
    950: '#000000',
  },
}
SCSS
$custom: #8957dc;
$custom-light: #b189e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8957dc",
  "rgb": {
    "r": 137,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 262.556,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.57799,
    "c": 0.19471,
    "h": 297.2
  },
  "luminance": 0.17302
}

Semantic roles & 50–950 ramp

primary
#8957DC
secondary
#CEE1AE
accent
#CD1889
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8957DC

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

Preview Lab → · Contrast checker → · Palette generator →

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