#8B47D9#8B47D9

#8B47D9 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.6% C 0.213 H 301.0°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#8B47D9
RGBrgb(139, 71, 217)
HSLhsl(268, 66%, 56%)
HSVhsv(268, 67%, 85%)
CMYKcmyk(35.9%, 67.3%, 0%, 14.9%)
CIE-LABlab(45.64, 56.46, -63.99)
CIE-LCHlch(45.64, 85.34, 311.42°)
OKLaboklab(55.62% 0.1096 -0.1822)
OKLCHoklch(55.62% 0.213 301)
XYZxyz(25.4221, 15.0050, 67.1891)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B47D9 #95D947
analogous
#474CD9 #8B47D9 #D447D9
triadic
#8B47D9 #D98B47 #47D98B
tetradic
#8B47D9 #D9474C #95D947 #47D9D4
square
#8B47D9 #D9474C #95D947 #47D9D4
split-complementary
#8B47D9 #D9D447 #4CD947
monochromatic
#4F1C89 #6C27BC #8B47D9 #AB7AE3 #CBACEE

Accessibility & contrast

On white

5.25
#8B47D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#8B47D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B47D9
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B47D9#FFFFFF#000000##FFFFFF
##8B47D91.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#006BD6
Tritanopia (blue-blind)
#7A698A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8b47d9;
/* rgb */ color: rgb(139, 71, 217);
/* oklch */ color: oklch(55.6% 0.213 301.0);
Tailwind
colors: {
  custom: {
    50: '#b27fe6',
    500: '#8b47d9',
    950: '#000000',
  },
}
SCSS
$custom: #8b47d9;
$custom-light: #b27fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b47d9",
  "rgb": {
    "r": 139,
    "g": 71,
    "b": 217
  },
  "hsl": {
    "h": 267.945,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5562,
    "c": 0.21264,
    "h": 301
  },
  "luminance": 0.15005
}

Semantic roles & 50–950 ramp

primary
#8B47D9
secondary
#C0DCA0
accent
#E93F9A
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8B47D9

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

Preview Lab → · Contrast checker → · Palette generator →

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