#8847CB#8847CB

#8847CB is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.3% C 0.197 H 303.0°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8847CB
RGBrgb(136, 71, 203)
HSLhsl(270, 56%, 54%)
HSVhsv(270, 65%, 80%)
CMYKcmyk(33%, 65%, 0%, 20.4%)
CIE-LABlab(44.31, 52.46, -58.13)
CIE-LCHlch(44.31, 78.30, 312.06°)
OKLaboklab(54.28% 0.1072 -0.1651)
OKLCHoklch(54.28% 0.197 303)
XYZxyz(23.1836, 14.0525, 57.9794)
Luminance0.1405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8847CB #8ACB47
analogous
#4748CB #8847CB #CA47CB
triadic
#8847CB #CB8847 #47CB88
tetradic
#8847CB #CB4748 #8ACB47 #47CBCA
square
#8847CB #CB4748 #8ACB47 #47CBCA
split-complementary
#8847CB #CBCA47 #48CB47
monochromatic
#4B2176 #692FA6 #8847CB #A777D8 #C6A6E6

Accessibility & contrast

On white

5.51
#8847CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#8847CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8847CB
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8847CB#FFFFFF#000000##FFFFFF
##8847CB1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#1768C8
Tritanopia (blue-blind)
#7B6483
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8847cb;
/* rgb */ color: rgb(136, 71, 203);
/* oklch */ color: oklch(54.3% 0.197 303.0);
Tailwind
colors: {
  custom: {
    50: '#af7edc',
    500: '#8847cb',
    950: '#000000',
  },
}
SCSS
$custom: #8847cb;
$custom-light: #af7edc;
$custom-dark: #000000;
JSON
{
  "hex": "#8847cb",
  "rgb": {
    "r": 136,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 269.545,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.54275,
    "c": 0.19679,
    "h": 303
  },
  "luminance": 0.14053
}

Semantic roles & 50–950 ramp

primary
#8847CB
secondary
#B7D39B
accent
#DF4995
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8847CB

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

Preview Lab → · Contrast checker → · Palette generator →

#8847CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva