#8945CF#8945CF

#8945CF is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.4% C 0.204 H 302.7°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8945CF
RGBrgb(137, 69, 207)
HSLhsl(270, 59%, 54%)
HSVhsv(270, 67%, 81%)
CMYKcmyk(33.8%, 66.7%, 0%, 18.8%)
CIE-LABlab(44.35, 54.61, -60.37)
CIE-LCHlch(44.35, 81.40, 312.13°)
OKLaboklab(54.42% 0.1103 -0.1716)
OKLCHoklch(54.42% 0.204 302.7)
XYZxyz(23.7045, 14.0796, 60.4882)
Luminance0.1408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8945CF #8BCF45
analogous
#4546CF #8945CF #CE45CF
triadic
#8945CF #CF8945 #45CF89
tetradic
#8945CF #CF4546 #8BCF45 #45CFCE
square
#8945CF #CF4546 #8BCF45 #45CFCE
split-complementary
#8945CF #CFCE45 #46CF45
monochromatic
#4C207A #6A2CAB #8945CF #A876DC #C7A6E8

Accessibility & contrast

On white

5.50
#8945CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#8945CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8945CF
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8945CF#FFFFFF#000000##FFFFFF
##8945CF1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#0368CC
Tritanopia (blue-blind)
#7B6484
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8945cf;
/* rgb */ color: rgb(137, 69, 207);
/* oklch */ color: oklch(54.4% 0.204 302.7);
Tailwind
colors: {
  custom: {
    50: '#b07dde',
    500: '#8945cf',
    950: '#000000',
  },
}
SCSS
$custom: #8945cf;
$custom-light: #b07dde;
$custom-dark: #000000;
JSON
{
  "hex": "#8945cf",
  "rgb": {
    "r": 137,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 269.565,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54417,
    "c": 0.20398,
    "h": 302.7
  },
  "luminance": 0.1408
}

Semantic roles & 50–950 ramp

primary
#8945CF
secondary
#B8D59B
accent
#E24695
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8945CF

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

Preview Lab → · Contrast checker → · Palette generator →

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