#8847E6#8847E6

#8847E6 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.3% C 0.226 H 297.2°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8847E6
RGBrgb(136, 71, 230)
HSLhsl(265, 76%, 59%)
HSVhsv(265, 69%, 90%)
CMYKcmyk(40.9%, 69.1%, 0%, 9.8%)
CIE-LABlab(46.25, 59.09, -70.41)
CIE-LCHlch(46.25, 91.92, 310.00°)
OKLaboklab(56.28% 0.1036 -0.2012)
OKLCHoklch(56.28% 0.226 297.2)
XYZxyz(26.6858, 15.4534, 76.4244)
Luminance0.1545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8847E6 #A5E647
analogous
#4756E6 #8847E6 #D747E6
triadic
#8847E6 #E68847 #47E688
tetradic
#8847E6 #E64756 #A5E647 #47E6D7
square
#8847E6 #E64756 #A5E647 #47E6D7
split-complementary
#8847E6 #E6D747 #56E647
monochromatic
#4D159D #671DD3 #8847E6 #AB7DED #CEB3F5

Accessibility & contrast

On white

5.13
#8847E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#8847E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8847E6
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8847E6#FFFFFF#000000##FFFFFF
##8847E61.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEB
Deuteranopia (green-blind)
#006CE3
Tritanopia (blue-blind)
#706E91
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8847e6;
/* rgb */ color: rgb(136, 71, 230);
/* oklch */ color: oklch(56.3% 0.226 297.2);
Tailwind
colors: {
  custom: {
    50: '#b27fef',
    500: '#8847e6',
    950: '#000000',
  },
}
SCSS
$custom: #8847e6;
$custom-light: #b27fef;
$custom-dark: #000000;
JSON
{
  "hex": "#8847e6",
  "rgb": {
    "r": 136,
    "g": 71,
    "b": 230
  },
  "hsl": {
    "h": 264.528,
    "s": 76.077,
    "l": 59.02
  },
  "oklch": {
    "l": 0.56276,
    "c": 0.22629,
    "h": 297.2
  },
  "luminance": 0.15454
}

Semantic roles & 50–950 ramp

primary
#8847E6
secondary
#CAE4A5
accent
#F335A5
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120A17
muted
#817C85

Preview Lab

Preview with #8847E6

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

Preview Lab → · Contrast checker → · Palette generator →

#8847E6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva