#8945D1#8945D1

#8945D1 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.6% C 0.206 H 302.3°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#8945D1
RGBrgb(137, 69, 209)
HSLhsl(269, 60%, 55%)
HSVhsv(269, 67%, 82%)
CMYKcmyk(34.4%, 67%, 0%, 18%)
CIE-LABlab(44.49, 55.09, -61.29)
CIE-LCHlch(44.49, 82.41, 311.95°)
OKLaboklab(54.56% 0.11 -0.1743)
OKLCHoklch(54.56% 0.206 302.3)
XYZxyz(23.9506, 14.1780, 61.7841)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8945D1 #8DD145
analogous
#4547D1 #8945D1 #CF45D1
triadic
#8945D1 #D18945 #45D189
tetradic
#8945D1 #D14547 #8DD145 #45D1CF
square
#8945D1 #D14547 #8DD145 #45D1CF
split-complementary
#8945D1 #D1CF45 #47D145
monochromatic
#4C1F7D #6B2BAE #8945D1 #A876DD #C7A7E9

Accessibility & contrast

On white

5.48
#8945D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#8945D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8945D1
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8945D1#FFFFFF#000000##FFFFFF
##8945D11.005.483.845.48
#FFFFFF5.481.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D5
Deuteranopia (green-blind)
#0069CE
Tritanopia (blue-blind)
#7A6585
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8945d1;
/* rgb */ color: rgb(137, 69, 209);
/* oklch */ color: oklch(54.6% 0.206 302.3);
Tailwind
colors: {
  custom: {
    50: '#b17de0',
    500: '#8945d1',
    950: '#000000',
  },
}
SCSS
$custom: #8945d1;
$custom-light: #b17de0;
$custom-dark: #000000;
JSON
{
  "hex": "#8945d1",
  "rgb": {
    "r": 137,
    "g": 69,
    "b": 209
  },
  "hsl": {
    "h": 269.143,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.54562,
    "c": 0.20615,
    "h": 302.3
  },
  "luminance": 0.14178
}

Semantic roles & 50–950 ramp

primary
#8945D1
secondary
#BAD79B
accent
#E34496
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8945D1

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

Preview Lab → · Contrast checker → · Palette generator →

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