#8947CB#8947CB

#8947CB is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.4% C 0.197 H 303.4°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8947CB
RGBrgb(137, 71, 203)
HSLhsl(270, 56%, 54%)
HSVhsv(270, 65%, 80%)
CMYKcmyk(32.5%, 65%, 0%, 20.4%)
CIE-LABlab(44.43, 52.67, -57.93)
CIE-LCHlch(44.43, 78.29, 312.28°)
OKLaboklab(54.39% 0.1085 -0.1644)
OKLCHoklch(54.39% 0.197 303.4)
XYZxyz(23.3468, 14.1367, 57.9870)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8947CB #89CB47
analogous
#4747CB #8947CB #CB47CB
triadic
#8947CB #CB8947 #47CB89
tetradic
#8947CB #CB4747 #89CB47 #47CBCB
square
#8947CB #CB4747 #89CB47 #47CBCB
split-complementary
#8947CB #CBCB47 #47CB47
monochromatic
#4C2176 #6A2FA6 #8947CB #A877D8 #C6A6E6

Accessibility & contrast

On white

5.49
#8947CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#8947CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8947CB
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8947CB#FFFFFF#000000##FFFFFF
##8947CB1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#1969C8
Tritanopia (blue-blind)
#7C6483
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8947cb;
/* rgb */ color: rgb(137, 71, 203);
/* oklch */ color: oklch(54.4% 0.197 303.4);
Tailwind
colors: {
  custom: {
    50: '#b07edc',
    500: '#8947cb',
    950: '#000000',
  },
}
SCSS
$custom: #8947cb;
$custom-light: #b07edc;
$custom-dark: #000000;
JSON
{
  "hex": "#8947cb",
  "rgb": {
    "r": 137,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 270,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.54388,
    "c": 0.197,
    "h": 303.4
  },
  "luminance": 0.14137
}

Semantic roles & 50–950 ramp

primary
#8947CB
secondary
#B7D39B
accent
#DF4994
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8947CB

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

Preview Lab → · Contrast checker → · Palette generator →

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