#8956DF#8956DF

#8956DF is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.9% C 0.200 H 296.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8956DF
RGBrgb(137, 86, 223)
HSLhsl(262, 68%, 61%)
HSVhsv(262, 61%, 87%)
CMYKcmyk(38.6%, 61.4%, 0%, 12.5%)
CIE-LABlab(48.64, 49.91, -62.57)
CIE-LCHlch(48.64, 80.04, 308.58°)
OKLaboklab(57.86% 0.0901 -0.1781)
OKLCHoklch(57.86% 0.2 296.8)
XYZxyz(26.9602, 17.3012, 71.7168)
Luminance0.1730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8956DF #ACDF56
analogous
#5667DF #8956DF #CE56DF
triadic
#8956DF #DF8956 #56DF89
tetradic
#8956DF #DF5667 #ACDF56 #56DFCE
square
#8956DF #DF5667 #ACDF56 #56DFCE
split-complementary
#8956DF #DFCE56 #67DF56
monochromatic
#4D1E9D #6627D0 #8956DF #AD89E9 #D1BDF2

Accessibility & contrast

On white

4.71
#8956DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#8956DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8956DF
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8956DF#FFFFFF#000000##FFFFFF
##8956DF1.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)
#0074E3
Deuteranopia (green-blind)
#0C72DC
Tritanopia (blue-blind)
#747493
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8956df;
/* rgb */ color: rgb(137, 86, 223);
/* oklch */ color: oklch(57.9% 0.200 296.8);
Tailwind
colors: {
  custom: {
    50: '#b188ea',
    500: '#8956df',
    950: '#000000',
  },
}
SCSS
$custom: #8956df;
$custom-light: #b188ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8956df",
  "rgb": {
    "r": 137,
    "g": 86,
    "b": 223
  },
  "hsl": {
    "h": 262.336,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.57862,
    "c": 0.19962,
    "h": 296.8
  },
  "luminance": 0.17302
}

Semantic roles & 50–950 ramp

primary
#8956DF
secondary
#CFE2AE
accent
#D0158B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8956DF

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

Preview Lab → · Contrast checker → · Palette generator →

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