#8A47CF#8A47CF

#8A47CF is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.8% C 0.202 H 302.9°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#8A47CF
RGBrgb(138, 71, 207)
HSLhsl(270, 59%, 55%)
HSVhsv(270, 66%, 81%)
CMYKcmyk(33.3%, 65.7%, 0%, 18.8%)
CIE-LABlab(44.82, 53.84, -59.59)
CIE-LCHlch(44.82, 80.31, 312.10°)
OKLaboklab(54.78% 0.1094 -0.1693)
OKLCHoklch(54.78% 0.202 302.9)
XYZxyz(23.9943, 14.4147, 60.5376)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A47CF #8CCF47
analogous
#4748CF #8A47CF #CE47CF
triadic
#8A47CF #CF8A47 #47CF8A
tetradic
#8A47CF #CF4748 #8CCF47 #47CFCE
square
#8A47CF #CF4748 #8CCF47 #47CFCE
split-complementary
#8A47CF #CFCE47 #48CF47
monochromatic
#4D207B #6B2DAC #8A47CF #A978DC #C8A8E8

Accessibility & contrast

On white

5.41
#8A47CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#8A47CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A47CF
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A47CF#FFFFFF#000000##FFFFFF
##8A47CF1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#106ACC
Tritanopia (blue-blind)
#7C6585
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8a47cf;
/* rgb */ color: rgb(138, 71, 207);
/* oklch */ color: oklch(54.8% 0.202 302.9);
Tailwind
colors: {
  custom: {
    50: '#b17ede',
    500: '#8a47cf',
    950: '#000000',
  },
}
SCSS
$custom: #8a47cf;
$custom-light: #b17ede;
$custom-dark: #000000;
JSON
{
  "hex": "#8a47cf",
  "rgb": {
    "r": 138,
    "g": 71,
    "b": 207
  },
  "hsl": {
    "h": 269.559,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.54784,
    "c": 0.20159,
    "h": 302.9
  },
  "luminance": 0.14415
}

Semantic roles & 50–950 ramp

primary
#8A47CF
secondary
#B9D69C
accent
#E24695
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A47CF

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

Preview Lab → · Contrast checker → · Palette generator →

#8A47CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva