#8047D2#8047D2

#8047D2 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.9% C 0.203 H 298.1°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#8047D2
RGBrgb(128, 71, 210)
HSLhsl(265, 61%, 55%)
HSVhsv(265, 66%, 82%)
CMYKcmyk(39%, 66.2%, 0%, 17.6%)
CIE-LABlab(43.87, 52.54, -62.91)
CIE-LCHlch(43.87, 81.97, 309.87°)
OKLaboklab(53.91% 0.0956 -0.1794)
OKLCHoklch(53.91% 0.203 298.1)
XYZxyz(22.7852, 13.7485, 62.4135)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8047D2 #99D247
analogous
#4754D2 #8047D2 #C547D2
triadic
#8047D2 #D28047 #47D280
tetradic
#8047D2 #D24754 #99D247 #47D2C5
square
#8047D2 #D24754 #99D247 #47D2C5
split-complementary
#8047D2 #D2C547 #54D247
monochromatic
#471F7F #622BB1 #8047D2 #A278DE #C4A9EA

Accessibility & contrast

On white

5.60
#8047D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#8047D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8047D2
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8047D2#FFFFFF#000000##FFFFFF
##8047D21.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#0066CF
Tritanopia (blue-blind)
#6C6787
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8047d2;
/* rgb */ color: rgb(128, 71, 210);
/* oklch */ color: oklch(53.9% 0.203 298.1);
Tailwind
colors: {
  custom: {
    50: '#ab7ee1',
    500: '#8047d2',
    950: '#000000',
  },
}
SCSS
$custom: #8047d2;
$custom-light: #ab7ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#8047d2",
  "rgb": {
    "r": 128,
    "g": 71,
    "b": 210
  },
  "hsl": {
    "h": 264.604,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.53907,
    "c": 0.20328,
    "h": 298.1
  },
  "luminance": 0.13749
}

Semantic roles & 50–950 ramp

primary
#8047D2
secondary
#C0D89D
accent
#E444A2
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8047D2

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

Preview Lab → · Contrast checker → · Palette generator →

#8047D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva