#8945CD#8945CD

#8945CD is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.3% C 0.202 H 303.2°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8945CD
RGBrgb(137, 69, 205)
HSLhsl(270, 58%, 54%)
HSVhsv(270, 66%, 80%)
CMYKcmyk(33.2%, 66.3%, 0%, 19.6%)
CIE-LABlab(44.21, 54.13, -59.44)
CIE-LCHlch(44.21, 80.39, 312.33°)
OKLaboklab(54.27% 0.1105 -0.1689)
OKLCHoklch(54.27% 0.202 303.2)
XYZxyz(23.4615, 13.9824, 59.2086)
Luminance0.1398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8945CD #89CD45
analogous
#4545CD #8945CD #CD45CD
triadic
#8945CD #CD8945 #45CD89
tetradic
#8945CD #CD4545 #89CD45 #45CDCD
square
#8945CD #CD4545 #89CD45 #45CDCD
split-complementary
#8945CD #CDCD45 #45CD45
monochromatic
#4C2077 #6A2DA8 #8945CD #A875DA #C6A5E7

Accessibility & contrast

On white

5.53
#8945CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#8945CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8945CD
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8945CD#FFFFFF#000000##FFFFFF
##8945CD1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#0D68CA
Tritanopia (blue-blind)
#7C6383
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8945cd;
/* rgb */ color: rgb(137, 69, 205);
/* oklch */ color: oklch(54.3% 0.202 303.2);
Tailwind
colors: {
  custom: {
    50: '#b07ddd',
    500: '#8945cd',
    950: '#000000',
  },
}
SCSS
$custom: #8945cd;
$custom-light: #b07ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#8945cd",
  "rgb": {
    "r": 137,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 270,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.54273,
    "c": 0.20181,
    "h": 303.2
  },
  "luminance": 0.13982
}

Semantic roles & 50–950 ramp

primary
#8945CD
secondary
#B7D49A
accent
#E14794
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8945CD

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

Preview Lab → · Contrast checker → · Palette generator →

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