#8957DE#8957DE

#8957DE is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.9% C 0.197 H 296.9°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#8957DE
RGBrgb(137, 87, 222)
HSLhsl(262, 67%, 61%)
HSVhsv(262, 61%, 87%)
CMYKcmyk(38.3%, 60.8%, 0%, 12.9%)
CIE-LABlab(48.77, 49.12, -61.79)
CIE-LCHlch(48.77, 78.93, 308.48°)
OKLaboklab(57.94% 0.089 -0.1758)
OKLCHoklch(57.94% 0.197 296.9)
XYZxyz(26.9062, 17.4082, 71.0356)
Luminance0.1741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8957DE #ACDE57
analogous
#5768DE #8957DE #CC57DE
triadic
#8957DE #DE8957 #57DE89
tetradic
#8957DE #DE5768 #ACDE57 #57DECC
square
#8957DE #DE5768 #ACDE57 #57DECC
split-complementary
#8957DE #DECC57 #68DE57
monochromatic
#4D1F9C #6629CF #8957DE #AD8AE8 #D1BDF2

Accessibility & contrast

On white

4.69
#8957DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#8957DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8957DE
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8957DE#FFFFFF#000000##FFFFFF
##8957DE1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E2
Deuteranopia (green-blind)
#1572DB
Tritanopia (blue-blind)
#747592
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8957de;
/* rgb */ color: rgb(137, 87, 222);
/* oklch */ color: oklch(57.9% 0.197 296.9);
Tailwind
colors: {
  custom: {
    50: '#b189e9',
    500: '#8957de',
    950: '#000000',
  },
}
SCSS
$custom: #8957de;
$custom-light: #b189e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8957de",
  "rgb": {
    "r": 137,
    "g": 87,
    "b": 222
  },
  "hsl": {
    "h": 262.222,
    "s": 67.164,
    "l": 60.588
  },
  "oklch": {
    "l": 0.57938,
    "c": 0.19708,
    "h": 296.9
  },
  "luminance": 0.17409
}

Semantic roles & 50–950 ramp

primary
#8957DE
secondary
#CFE2AF
accent
#CF168B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8957DE

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

Preview Lab → · Contrast checker → · Palette generator →

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