#8945CC#8945CC

#8945CC is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.2% C 0.201 H 303.4°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8945CC
RGBrgb(137, 69, 204)
HSLhsl(270, 57%, 54%)
HSVhsv(270, 66%, 80%)
CMYKcmyk(32.8%, 66.2%, 0%, 20%)
CIE-LABlab(44.14, 53.89, -58.97)
CIE-LCHlch(44.14, 79.89, 312.42°)
OKLaboklab(54.2% 0.1106 -0.1675)
OKLCHoklch(54.2% 0.201 303.4)
XYZxyz(23.3412, 13.9343, 58.5749)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8945CC #88CC45
analogous
#4545CC #8945CC #CC45CC
triadic
#8945CC #CC8945 #45CC89
tetradic
#8945CC #CC4545 #88CC45 #45CCCC
square
#8945CC #CC4545 #88CC45 #45CCCC
split-complementary
#8945CC #CCCC45 #45CC45
monochromatic
#4C2076 #6A2EA6 #8945CC #A775D9 #C6A5E6

Accessibility & contrast

On white

5.55
#8945CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#8945CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8945CC
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8945CC#FFFFFF#000000##FFFFFF
##8945CC1.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#1168C9
Tritanopia (blue-blind)
#7C6383
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8945cc;
/* rgb */ color: rgb(137, 69, 204);
/* oklch */ color: oklch(54.2% 0.201 303.4);
Tailwind
colors: {
  custom: {
    50: '#b07ddc',
    500: '#8945cc',
    950: '#000000',
  },
}
SCSS
$custom: #8945cc;
$custom-light: #b07ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#8945cc",
  "rgb": {
    "r": 137,
    "g": 69,
    "b": 204
  },
  "hsl": {
    "h": 270.222,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54201,
    "c": 0.20073,
    "h": 303.4
  },
  "luminance": 0.13934
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8945CC

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

Preview Lab → · Contrast checker → · Palette generator →

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