#8945C8#8945C8

#8945C8 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.9% C 0.196 H 304.4°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#8945C8
RGBrgb(137, 69, 200)
HSLhsl(271, 54%, 53%)
HSVhsv(271, 66%, 78%)
CMYKcmyk(31.5%, 65.5%, 0%, 21.6%)
CIE-LABlab(43.86, 52.94, -57.10)
CIE-LCHlch(43.86, 77.87, 312.83°)
OKLaboklab(53.92% 0.111 -0.162)
OKLCHoklch(53.92% 0.196 304.4)
XYZxyz(22.8676, 13.7448, 56.0807)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8945C8 #84C845
analogous
#4745C8 #8945C8 #C845C6
triadic
#8945C8 #C88945 #45C889
tetradic
#8945C8 #C84745 #84C845 #45C6C8
square
#8945C8 #C84745 #84C845 #45C6C8
split-complementary
#8945C8 #C6C845 #45C847
monochromatic
#4B2171 #6A2FA0 #8945C8 #A774D6 #C5A3E4

Accessibility & contrast

On white

5.60
#8945C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#8945C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8945C8
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8945C8#FFFFFF#000000##FFFFFF
##8945C81.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#1C68C5
Tritanopia (blue-blind)
#7D6281
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8945c8;
/* rgb */ color: rgb(137, 69, 200);
/* oklch */ color: oklch(53.9% 0.196 304.4);
Tailwind
colors: {
  custom: {
    50: '#b07dd9',
    500: '#8945c8',
    950: '#000000',
  },
}
SCSS
$custom: #8945c8;
$custom-light: #b07dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8945c8",
  "rgb": {
    "r": 137,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 271.145,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.53917,
    "c": 0.19639,
    "h": 304.4
  },
  "luminance": 0.13745
}

Semantic roles & 50–950 ramp

primary
#8945C8
secondary
#B3D198
accent
#DE4A91
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8945C8

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

Preview Lab → · Contrast checker → · Palette generator →

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