#8945A2#8945A2

#8945A2 is a mid, vivid purple. Relative luminance 0.122; OKLCH L 51.4% C 0.155 H 316.1°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#8945A2
RGBrgb(137, 69, 162)
HSLhsl(284, 40%, 45%)
HSVhsv(284, 57%, 64%)
CMYKcmyk(15.4%, 57.4%, 0%, 36.5%)
CIE-LABlab(41.51, 44.30, -38.54)
CIE-LCHlch(41.51, 58.72, 318.98°)
OKLaboklab(51.45% 0.1118 -0.1076)
OKLCHoklch(51.45% 0.155 316.1)
XYZxyz(18.9652, 12.1839, 35.5281)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8945A2 #5EA245
analogous
#5A45A2 #8945A2 #A2458C
triadic
#8945A2 #A28945 #45A289
tetradic
#8945A2 #A25A45 #5EA245 #458CA2
square
#8945A2 #A25A45 #5EA245 #458CA2
split-complementary
#8945A2 #8CA245 #45A25A
monochromatic
#40204C #653377 #8945A2 #A666BE #BF91D0

Accessibility & contrast

On white

6.11
#8945A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#8945A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8945A2
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8945A2#FFFFFF#000000##FFFFFF
##8945A21.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5EA5
Deuteranopia (green-blind)
#4664A0
Tritanopia (blue-blind)
#88546D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8945a2;
/* rgb */ color: rgb(137, 69, 162);
/* oklch */ color: oklch(51.4% 0.155 316.1);
Tailwind
colors: {
  custom: {
    50: '#ae7cbe',
    500: '#8945a2',
    950: '#000000',
  },
}
SCSS
$custom: #8945a2;
$custom-light: #ae7cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#8945a2",
  "rgb": {
    "r": 137,
    "g": 69,
    "b": 162
  },
  "hsl": {
    "h": 283.871,
    "s": 40.26,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5145,
    "c": 0.15517,
    "h": 316.1
  },
  "luminance": 0.12183
}

Semantic roles & 50–950 ramp

primary
#8945A2
secondary
#95BC87
accent
#D05878
background
#FAF7FB
surface
#F5EEF7
border
#CFC9D0
text
#110A12
muted
#807C81

Preview Lab

Preview with #8945A2

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

Preview Lab → · Contrast checker → · Palette generator →

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