#8845CB#8845CB

#8845CB is a mid, vivid violet. Relative luminance 0.138; OKLCH L 54.0% C 0.199 H 303.3°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8845CB
RGBrgb(136, 69, 203)
HSLhsl(270, 56%, 53%)
HSVhsv(270, 66%, 80%)
CMYKcmyk(33%, 66%, 0%, 20.4%)
CIE-LABlab(43.95, 53.44, -58.71)
CIE-LCHlch(43.95, 79.39, 312.31°)
OKLaboklab(54.02% 0.1094 -0.1668)
OKLCHoklch(54.02% 0.199 303.3)
XYZxyz(23.0585, 13.8023, 57.9377)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8845CB #88CB45
analogous
#4545CB #8845CB #CB45CB
triadic
#8845CB #CB8845 #45CB88
tetradic
#8845CB #CB4545 #88CB45 #45CBCB
square
#8845CB #CB4545 #88CB45 #45CBCB
split-complementary
#8845CB #CBCB45 #45CB45
monochromatic
#4B2175 #692EA5 #8845CB #A775D8 #C5A5E6

Accessibility & contrast

On white

5.58
#8845CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#8845CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8845CB
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8845CB#FFFFFF#000000##FFFFFF
##8845CB1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#1168C8
Tritanopia (blue-blind)
#7B6382
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8845cb;
/* rgb */ color: rgb(136, 69, 203);
/* oklch */ color: oklch(54.0% 0.199 303.3);
Tailwind
colors: {
  custom: {
    50: '#af7ddc',
    500: '#8845cb',
    950: '#000000',
  },
}
SCSS
$custom: #8845cb;
$custom-light: #af7ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#8845cb",
  "rgb": {
    "r": 136,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 270,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54016,
    "c": 0.19943,
    "h": 303.3
  },
  "luminance": 0.13802
}

Semantic roles & 50–950 ramp

primary
#8845CB
secondary
#B6D399
accent
#E04894
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8845CB

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

Preview Lab → · Contrast checker → · Palette generator →

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