#8947CA#8947CA

#8947CA is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.3% C 0.196 H 303.7°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8947CA
RGBrgb(137, 71, 202)
HSLhsl(270, 55%, 54%)
HSVhsv(270, 65%, 79%)
CMYKcmyk(32.2%, 64.9%, 0%, 20.8%)
CIE-LABlab(44.36, 52.43, -57.46)
CIE-LCHlch(44.36, 77.78, 312.38°)
OKLaboklab(54.32% 0.1086 -0.1631)
OKLCHoklch(54.32% 0.196 303.7)
XYZxyz(23.2280, 14.0892, 57.3614)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8947CA #88CA47
analogous
#4747CA #8947CA #CA47C9
triadic
#8947CA #CA8947 #47CA89
tetradic
#8947CA #CA4747 #88CA47 #47C9CA
square
#8947CA #CA4747 #88CA47 #47C9CA
split-complementary
#8947CA #C9CA47 #47CA47
monochromatic
#4C2275 #6A2FA4 #8947CA #A777D8 #C6A6E5

Accessibility & contrast

On white

5.50
#8947CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#8947CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8947CA
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8947CA#FFFFFF#000000##FFFFFF
##8947CA1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#1C69C7
Tritanopia (blue-blind)
#7D6482
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8947ca;
/* rgb */ color: rgb(137, 71, 202);
/* oklch */ color: oklch(54.3% 0.196 303.7);
Tailwind
colors: {
  custom: {
    50: '#b07edb',
    500: '#8947ca',
    950: '#000000',
  },
}
SCSS
$custom: #8947ca;
$custom-light: #b07edb;
$custom-dark: #000000;
JSON
{
  "hex": "#8947ca",
  "rgb": {
    "r": 137,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 270.229,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54317,
    "c": 0.1959,
    "h": 303.7
  },
  "luminance": 0.14089
}

Semantic roles & 50–950 ramp

primary
#8947CA
secondary
#B6D29A
accent
#DF4993
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8947CA

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

Preview Lab → · Contrast checker → · Palette generator →

#8947CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva