#8945C5#8945C5

#8945C5 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.7% C 0.193 H 305.2°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8945C5
RGBrgb(137, 69, 197)
HSLhsl(272, 52%, 52%)
HSVhsv(272, 65%, 77%)
CMYKcmyk(30.5%, 65%, 0%, 22.7%)
CIE-LABlab(43.66, 52.23, -55.69)
CIE-LCHlch(43.66, 76.35, 313.16°)
OKLaboklab(53.71% 0.1113 -0.1579)
OKLCHoklch(53.71% 0.193 305.2)
XYZxyz(22.5205, 13.6060, 54.2523)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8945C5 #81C545
analogous
#4945C5 #8945C5 #C545C1
triadic
#8945C5 #C58945 #45C589
tetradic
#8945C5 #C54945 #81C545 #45C1C5
square
#8945C5 #C54945 #81C545 #45C1C5
split-complementary
#8945C5 #C1C545 #45C549
monochromatic
#4A226D #6A319C #8945C5 #A774D4 #C4A2E2

Accessibility & contrast

On white

5.64
#8945C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#8945C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8945C5
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8945C5#FFFFFF#000000##FFFFFF
##8945C51.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C9
Deuteranopia (green-blind)
#2267C2
Tritanopia (blue-blind)
#7E607F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8945c5;
/* rgb */ color: rgb(137, 69, 197);
/* oklch */ color: oklch(53.7% 0.193 305.2);
Tailwind
colors: {
  custom: {
    50: '#b07dd7',
    500: '#8945c5',
    950: '#000000',
  },
}
SCSS
$custom: #8945c5;
$custom-light: #b07dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#8945c5",
  "rgb": {
    "r": 137,
    "g": 69,
    "b": 197
  },
  "hsl": {
    "h": 271.875,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.53708,
    "c": 0.19313,
    "h": 305.2
  },
  "luminance": 0.13606
}

Semantic roles & 50–950 ramp

primary
#8945C5
secondary
#B1CF97
accent
#DC4C8F
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8945C5

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

Preview Lab → · Contrast checker → · Palette generator →

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