#8945CE#8945CE

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

Color values

HEX#8945CE
RGBrgb(137, 69, 206)
HSLhsl(270, 58%, 54%)
HSVhsv(270, 67%, 81%)
CMYKcmyk(33.5%, 66.5%, 0%, 19.2%)
CIE-LABlab(44.28, 54.37, -59.90)
CIE-LCHlch(44.28, 80.90, 312.23°)
OKLaboklab(54.35% 0.1104 -0.1702)
OKLCHoklch(54.35% 0.203 303)
XYZxyz(23.5826, 14.0308, 59.8464)
Luminance0.1403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8945CE #8ACE45
analogous
#4546CE #8945CE #CE45CE
triadic
#8945CE #CE8945 #45CE89
tetradic
#8945CE #CE4546 #8ACE45 #45CECE
square
#8945CE #CE4546 #8ACE45 #45CECE
split-complementary
#8945CE #CECE45 #46CE45
monochromatic
#4C2079 #6A2DA9 #8945CE #A875DB #C6A6E8

Accessibility & contrast

On white

5.52
#8945CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#8945CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8945CE
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8945CE#FFFFFF#000000##FFFFFF
##8945CE1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D2
Deuteranopia (green-blind)
#0868CB
Tritanopia (blue-blind)
#7B6484
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8945ce;
/* rgb */ color: rgb(137, 69, 206);
/* oklch */ color: oklch(54.3% 0.203 303.0);
Tailwind
colors: {
  custom: {
    50: '#b07dde',
    500: '#8945ce',
    950: '#000000',
  },
}
SCSS
$custom: #8945ce;
$custom-light: #b07dde;
$custom-dark: #000000;
JSON
{
  "hex": "#8945ce",
  "rgb": {
    "r": 137,
    "g": 69,
    "b": 206
  },
  "hsl": {
    "h": 269.781,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54345,
    "c": 0.2029,
    "h": 303
  },
  "luminance": 0.14031
}

Semantic roles & 50–950 ramp

primary
#8945CE
secondary
#B8D59A
accent
#E24694
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8945CE

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

Preview Lab → · Contrast checker → · Palette generator →

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