#8947E2#8947E2

#8947E2 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 56.1% C 0.222 H 298.4°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#8947E2
RGBrgb(137, 71, 226)
HSLhsl(266, 73%, 58%)
HSVhsv(266, 69%, 89%)
CMYKcmyk(39.4%, 68.6%, 0%, 11.4%)
CIE-LABlab(46.06, 58.28, -68.44)
CIE-LCHlch(46.06, 89.89, 310.41°)
OKLaboklab(56.08% 0.1056 -0.1954)
OKLCHoklch(56.08% 0.222 298.4)
XYZxyz(26.2937, 15.3154, 73.5076)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8947E2 #A0E247
analogous
#4752E2 #8947E2 #D647E2
triadic
#8947E2 #E28947 #47E289
tetradic
#8947E2 #E24752 #A0E247 #47E2D6
square
#8947E2 #E24752 #A0E247 #47E2D6
split-complementary
#8947E2 #E2D647 #52E247
monochromatic
#4E1897 #6920CC #8947E2 #AB7CEA #CDB1F3

Accessibility & contrast

On white

5.17
#8947E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#8947E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8947E2
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8947E2#FFFFFF#000000##FFFFFF
##8947E21.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE7
Deuteranopia (green-blind)
#006CDF
Tritanopia (blue-blind)
#746C8F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8947e2;
/* rgb */ color: rgb(137, 71, 226);
/* oklch */ color: oklch(56.1% 0.222 298.4);
Tailwind
colors: {
  custom: {
    50: '#b27fec',
    500: '#8947e2',
    950: '#000000',
  },
}
SCSS
$custom: #8947e2;
$custom-light: #b27fec;
$custom-dark: #000000;
JSON
{
  "hex": "#8947e2",
  "rgb": {
    "r": 137,
    "g": 71,
    "b": 226
  },
  "hsl": {
    "h": 265.548,
    "s": 72.77,
    "l": 58.235
  },
  "oklch": {
    "l": 0.56075,
    "c": 0.22208,
    "h": 298.4
  },
  "luminance": 0.15316
}

Semantic roles & 50–950 ramp

primary
#8947E2
secondary
#C7E1A4
accent
#EF38A1
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8947E2

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

Preview Lab → · Contrast checker → · Palette generator →

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