#8947D3#8947D3

#8947D3 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.0% C 0.206 H 301.5°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#8947D3
RGBrgb(137, 71, 211)
HSLhsl(268, 61%, 55%)
HSVhsv(268, 66%, 83%)
CMYKcmyk(35.1%, 66.4%, 0%, 17.3%)
CIE-LABlab(44.98, 54.60, -61.64)
CIE-LCHlch(44.98, 82.34, 311.53°)
OKLaboklab(54.96% 0.1077 -0.1753)
OKLCHoklch(54.96% 0.206 301.5)
XYZxyz(24.3248, 14.5279, 63.1380)
Luminance0.1453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8947D3 #91D347
analogous
#474BD3 #8947D3 #CF47D3
triadic
#8947D3 #D38947 #47D389
tetradic
#8947D3 #D3474B #91D347 #47D3CF
square
#8947D3 #D3474B #91D347 #47D3CF
split-complementary
#8947D3 #D3CF47 #4BD347
monochromatic
#4D1F81 #6B2BB2 #8947D3 #A978DF #C8AAEB

Accessibility & contrast

On white

5.38
#8947D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#8947D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8947D3
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8947D3#FFFFFF#000000##FFFFFF
##8947D31.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD7
Deuteranopia (green-blind)
#006AD0
Tritanopia (blue-blind)
#796787
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8947d3;
/* rgb */ color: rgb(137, 71, 211);
/* oklch */ color: oklch(55.0% 0.206 301.5);
Tailwind
colors: {
  custom: {
    50: '#b17ee1',
    500: '#8947d3',
    950: '#000000',
  },
}
SCSS
$custom: #8947d3;
$custom-light: #b17ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#8947d3",
  "rgb": {
    "r": 137,
    "g": 71,
    "b": 211
  },
  "hsl": {
    "h": 268.286,
    "s": 61.404,
    "l": 55.294
  },
  "oklch": {
    "l": 0.5496,
    "c": 0.20576,
    "h": 301.5
  },
  "luminance": 0.14528
}

Semantic roles & 50–950 ramp

primary
#8947D3
secondary
#BDD89E
accent
#E54399
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8947D3

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

Preview Lab → · Contrast checker → · Palette generator →

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