#8945CB#8945CB

#8945CB is a mid, vivid violet. Relative luminance 0.139; OKLCH L 54.1% C 0.200 H 303.7°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8945CB
RGBrgb(137, 69, 203)
HSLhsl(270, 56%, 53%)
HSVhsv(270, 66%, 80%)
CMYKcmyk(32.5%, 66%, 0%, 20.4%)
CIE-LABlab(44.07, 53.65, -58.51)
CIE-LCHlch(44.07, 79.38, 312.52°)
OKLaboklab(54.13% 0.1107 -0.1661)
OKLCHoklch(54.13% 0.2 303.7)
XYZxyz(23.2217, 13.8865, 57.9453)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8945CB #87CB45
analogous
#4645CB #8945CB #CB45CA
triadic
#8945CB #CB8945 #45CB89
tetradic
#8945CB #CB4645 #87CB45 #45CACB
square
#8945CB #CB4645 #87CB45 #45CACB
split-complementary
#8945CB #CACB45 #45CB46
monochromatic
#4B2175 #6A2EA5 #8945CB #A775D8 #C6A5E6

Accessibility & contrast

On white

5.56
#8945CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#8945CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8945CB
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8945CB#FFFFFF#000000##FFFFFF
##8945CB1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#1468C8
Tritanopia (blue-blind)
#7C6382
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8945cb;
/* rgb */ color: rgb(137, 69, 203);
/* oklch */ color: oklch(54.1% 0.200 303.7);
Tailwind
colors: {
  custom: {
    50: '#b07ddc',
    500: '#8945cb',
    950: '#000000',
  },
}
SCSS
$custom: #8945cb;
$custom-light: #b07ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#8945cb",
  "rgb": {
    "r": 137,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 270.448,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5413,
    "c": 0.19964,
    "h": 303.7
  },
  "luminance": 0.13886
}

Semantic roles & 50–950 ramp

primary
#8945CB
secondary
#B5D399
accent
#E04893
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8945CB

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

Preview Lab → · Contrast checker → · Palette generator →

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