#8945D8#8945D8

#8945D8 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.1% C 0.214 H 300.7°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#8945D8
RGBrgb(137, 69, 216)
HSLhsl(268, 65%, 56%)
HSVhsv(268, 68%, 85%)
CMYKcmyk(36.6%, 68.1%, 0%, 15.3%)
CIE-LABlab(44.99, 56.78, -64.49)
CIE-LCHlch(44.99, 85.93, 311.36°)
OKLaboklab(55.08% 0.1091 -0.1837)
OKLCHoklch(55.08% 0.214 300.7)
XYZxyz(24.8363, 14.5323, 66.4490)
Luminance0.1453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8945D8 #94D845
analogous
#454AD8 #8945D8 #D245D8
triadic
#8945D8 #D88945 #45D889
tetradic
#8945D8 #D8454A #94D845 #45D8D2
square
#8945D8 #D8454A #94D845 #45D8D2
split-complementary
#8945D8 #D8D245 #4AD845
monochromatic
#4D1C86 #6A27B9 #8945D8 #A978E3 #C9AAED

Accessibility & contrast

On white

5.38
#8945D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#8945D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8945D8
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8945D8#FFFFFF#000000##FFFFFF
##8945D81.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADC
Deuteranopia (green-blind)
#0069D5
Tritanopia (blue-blind)
#786889
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8945d8;
/* rgb */ color: rgb(137, 69, 216);
/* oklch */ color: oklch(55.1% 0.214 300.7);
Tailwind
colors: {
  custom: {
    50: '#b17de5',
    500: '#8945d8',
    950: '#000000',
  },
}
SCSS
$custom: #8945d8;
$custom-light: #b17de5;
$custom-dark: #000000;
JSON
{
  "hex": "#8945d8",
  "rgb": {
    "r": 137,
    "g": 69,
    "b": 216
  },
  "hsl": {
    "h": 267.755,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55077,
    "c": 0.2137,
    "h": 300.7
  },
  "luminance": 0.14532
}

Semantic roles & 50–950 ramp

primary
#8945D8
secondary
#BFDB9E
accent
#E8409A
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8945D8

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

Preview Lab → · Contrast checker → · Palette generator →

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