#8947D2#8947D2

#8947D2 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.9% C 0.205 H 301.8°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#8947D2
RGBrgb(137, 71, 210)
HSLhsl(268, 61%, 55%)
HSVhsv(268, 66%, 82%)
CMYKcmyk(34.8%, 66.2%, 0%, 17.6%)
CIE-LABlab(44.91, 54.36, -61.18)
CIE-LCHlch(44.91, 81.84, 311.62°)
OKLaboklab(54.89% 0.1078 -0.174)
OKLCHoklch(54.89% 0.205 301.8)
XYZxyz(24.1999, 14.4779, 62.4799)
Luminance0.1448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8947D2 #90D247
analogous
#474AD2 #8947D2 #CE47D2
triadic
#8947D2 #D28947 #47D289
tetradic
#8947D2 #D2474A #90D247 #47D2CE
square
#8947D2 #D2474A #90D247 #47D2CE
split-complementary
#8947D2 #D2CE47 #4AD247
monochromatic
#4D1F7F #6B2BB1 #8947D2 #A978DE #C8A9EA

Accessibility & contrast

On white

5.39
#8947D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#8947D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8947D2
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8947D2#FFFFFF#000000##FFFFFF
##8947D21.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#006ACF
Tritanopia (blue-blind)
#7A6687
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8947d2;
/* rgb */ color: rgb(137, 71, 210);
/* oklch */ color: oklch(54.9% 0.205 301.8);
Tailwind
colors: {
  custom: {
    50: '#b17ee1',
    500: '#8947d2',
    950: '#000000',
  },
}
SCSS
$custom: #8947d2;
$custom-light: #b17ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#8947d2",
  "rgb": {
    "r": 137,
    "g": 71,
    "b": 210
  },
  "hsl": {
    "h": 268.489,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.54888,
    "c": 0.20468,
    "h": 301.8
  },
  "luminance": 0.14478
}

Semantic roles & 50–950 ramp

primary
#8947D2
secondary
#BCD89D
accent
#E44498
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8947D2

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

Preview Lab → · Contrast checker → · Palette generator →

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