#8956DE#8956DE

#8956DE is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.8% C 0.198 H 297.0°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8956DE
RGBrgb(137, 86, 222)
HSLhsl(263, 67%, 60%)
HSVhsv(263, 61%, 87%)
CMYKcmyk(38.3%, 61.3%, 0%, 12.9%)
CIE-LABlab(48.57, 49.66, -62.11)
CIE-LCHlch(48.57, 79.52, 308.64°)
OKLaboklab(57.79% 0.0901 -0.1768)
OKLCHoklch(57.79% 0.198 297)
XYZxyz(26.8258, 17.2474, 71.0088)
Luminance0.1725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8956DE #ABDE56
analogous
#5667DE #8956DE #CD56DE
triadic
#8956DE #DE8956 #56DE89
tetradic
#8956DE #DE5667 #ABDE56 #56DECD
square
#8956DE #DE5667 #ABDE56 #56DECD
split-complementary
#8956DE #DECD56 #67DE56
monochromatic
#4D1E9B #6728CE #8956DE #AD89E8 #D1BCF2

Accessibility & contrast

On white

4.72
#8956DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#8956DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8956DE
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8956DE#FFFFFF#000000##FFFFFF
##8956DE1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E2
Deuteranopia (green-blind)
#1172DB
Tritanopia (blue-blind)
#757492
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8956de;
/* rgb */ color: rgb(137, 86, 222);
/* oklch */ color: oklch(57.8% 0.198 297.0);
Tailwind
colors: {
  custom: {
    50: '#b188e9',
    500: '#8956de',
    950: '#000000',
  },
}
SCSS
$custom: #8956de;
$custom-light: #b188e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8956de",
  "rgb": {
    "r": 137,
    "g": 86,
    "b": 222
  },
  "hsl": {
    "h": 262.5,
    "s": 67.327,
    "l": 60.392
  },
  "oklch": {
    "l": 0.57792,
    "c": 0.19844,
    "h": 297
  },
  "luminance": 0.17248
}

Semantic roles & 50–950 ramp

primary
#8956DE
secondary
#CEE2AE
accent
#CF168A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8956DE

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

Preview Lab → · Contrast checker → · Palette generator →

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