#8947DF#8947DF

#8947DF is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.8% C 0.219 H 299.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#8947DF
RGBrgb(137, 71, 223)
HSLhsl(266, 70%, 58%)
HSVhsv(266, 68%, 87%)
CMYKcmyk(38.6%, 68.2%, 0%, 12.5%)
CIE-LABlab(45.84, 57.54, -67.10)
CIE-LCHlch(45.84, 88.39, 310.61°)
OKLaboklab(55.85% 0.1061 -0.1914)
OKLCHoklch(55.85% 0.219 299)
XYZxyz(25.8857, 15.1522, 71.3586)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8947DF #9DDF47
analogous
#4751DF #8947DF #D547DF
triadic
#8947DF #DF8947 #47DF89
tetradic
#8947DF #DF4751 #9DDF47 #47DFD5
square
#8947DF #DF4751 #9DDF47 #47DFD5
split-complementary
#8947DF #DFD547 #51DF47
monochromatic
#4E1992 #6A22C6 #8947DF #AA7BE8 #CCAFF1

Accessibility & contrast

On white

5.21
#8947DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#8947DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8947DF
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8947DF#FFFFFF#000000##FFFFFF
##8947DF1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE4
Deuteranopia (green-blind)
#006BDC
Tritanopia (blue-blind)
#756B8E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8947df;
/* rgb */ color: rgb(137, 71, 223);
/* oklch */ color: oklch(55.8% 0.219 299.0);
Tailwind
colors: {
  custom: {
    50: '#b27fea',
    500: '#8947df',
    950: '#000000',
  },
}
SCSS
$custom: #8947df;
$custom-light: #b27fea;
$custom-dark: #000000;
JSON
{
  "hex": "#8947df",
  "rgb": {
    "r": 137,
    "g": 71,
    "b": 223
  },
  "hsl": {
    "h": 266.053,
    "s": 70.37,
    "l": 57.647
  },
  "oklch": {
    "l": 0.55848,
    "c": 0.21883,
    "h": 299
  },
  "luminance": 0.15153
}

Semantic roles & 50–950 ramp

primary
#8947DF
secondary
#C5DFA2
accent
#ED3BA0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8947DF

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

Preview Lab → · Contrast checker → · Palette generator →

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