#8945C0#8945C0

#8945C0 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.4% C 0.188 H 306.5°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8945C0
RGBrgb(137, 69, 192)
HSLhsl(273, 49%, 51%)
HSVhsv(273, 64%, 75%)
CMYKcmyk(28.6%, 64.1%, 0%, 24.7%)
CIE-LABlab(43.33, 51.06, -53.32)
CIE-LCHlch(43.33, 73.82, 313.76°)
OKLaboklab(53.36% 0.1116 -0.1509)
OKLCHoklch(53.36% 0.188 306.5)
XYZxyz(21.9571, 13.3806, 51.2849)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8945C0 #7CC045
analogous
#4B45C0 #8945C0 #C045B9
triadic
#8945C0 #C08945 #45C089
tetradic
#8945C0 #C04B45 #7CC045 #45B9C0
square
#8945C0 #C04B45 #7CC045 #45B9C0
split-complementary
#8945C0 #B9C045 #45C04B
monochromatic
#492368 #693395 #8945C0 #A673CF #C3A0DF

Accessibility & contrast

On white

5.71
#8945C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#8945C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8945C0
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8945C0#FFFFFF#000000##FFFFFF
##8945C01.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C4
Deuteranopia (green-blind)
#2A67BD
Tritanopia (blue-blind)
#805F7C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8945c0;
/* rgb */ color: rgb(137, 69, 192);
/* oklch */ color: oklch(53.4% 0.188 306.5);
Tailwind
colors: {
  custom: {
    50: '#af7dd4',
    500: '#8945c0',
    950: '#000000',
  },
}
SCSS
$custom: #8945c0;
$custom-light: #af7dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#8945c0",
  "rgb": {
    "r": 137,
    "g": 69,
    "b": 192
  },
  "hsl": {
    "h": 273.171,
    "s": 49.398,
    "l": 51.176
  },
  "oklch": {
    "l": 0.53363,
    "c": 0.18769,
    "h": 306.5
  },
  "luminance": 0.1338
}

Semantic roles & 50–950 ramp

primary
#8945C0
secondary
#AECC95
accent
#D94F8D
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8945C0

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

Preview Lab → · Contrast checker → · Palette generator →

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