#8956DB#8956DB

#8956DB is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.6% C 0.195 H 297.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8956DB
RGBrgb(137, 86, 219)
HSLhsl(263, 65%, 60%)
HSVhsv(263, 61%, 86%)
CMYKcmyk(37.4%, 60.7%, 0%, 14.1%)
CIE-LABlab(48.37, 48.88, -60.73)
CIE-LCHlch(48.37, 77.96, 308.83°)
OKLaboklab(57.58% 0.0903 -0.1727)
OKLCHoklch(57.58% 0.195 297.6)
XYZxyz(26.4273, 17.0880, 68.9101)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8956DB #A8DB56
analogous
#5665DB #8956DB #CC56DB
triadic
#8956DB #DB8956 #56DB89
tetradic
#8956DB #DB5665 #A8DB56 #56DBCC
square
#8956DB #DB5665 #A8DB56 #56DBCC
split-complementary
#8956DB #DBCC56 #65DB56
monochromatic
#4D2097 #672BC9 #8956DB #AC88E6 #CFBBF0

Accessibility & contrast

On white

4.75
#8956DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#8956DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8956DB
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8956DB#FFFFFF#000000##FFFFFF
##8956DB1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#1A71D8
Tritanopia (blue-blind)
#767390
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8956db;
/* rgb */ color: rgb(137, 86, 219);
/* oklch */ color: oklch(57.6% 0.195 297.6);
Tailwind
colors: {
  custom: {
    50: '#b088e7',
    500: '#8956db',
    950: '#000000',
  },
}
SCSS
$custom: #8956db;
$custom-light: #b088e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8956db",
  "rgb": {
    "r": 137,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 263.008,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.57584,
    "c": 0.19491,
    "h": 297.6
  },
  "luminance": 0.17088
}

Semantic roles & 50–950 ramp

primary
#8956DB
secondary
#CCE0AD
accent
#E840A7
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8956DB

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

Preview Lab → · Contrast checker → · Palette generator →

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