#8047DD#8047DD

#8047DD is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.7% C 0.216 H 295.9°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#8047DD
RGBrgb(128, 71, 221)
HSLhsl(263, 69%, 57%)
HSVhsv(263, 68%, 87%)
CMYKcmyk(42.1%, 67.9%, 0%, 13.3%)
CIE-LABlab(44.68, 55.36, -67.89)
CIE-LCHlch(44.68, 87.60, 309.19°)
OKLaboklab(54.74% 0.0941 -0.194)
OKLCHoklch(54.74% 0.216 295.9)
XYZxyz(24.2030, 14.3156, 69.8806)
Luminance0.1432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8047DD #A4DD47
analogous
#4759DD #8047DD #CB47DD
triadic
#8047DD #DD8047 #47DD80
tetradic
#8047DD #DD4759 #A4DD47 #47DDCB
square
#8047DD #DD4759 #A4DD47 #47DDCB
split-complementary
#8047DD #DDCB47 #59DD47
monochromatic
#471A8F #6024C3 #8047DD #A47BE7 #C7AEF0

Accessibility & contrast

On white

5.44
#8047DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#8047DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8047DD
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8047DD#FFFFFF#000000##FFFFFF
##8047DD1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE2
Deuteranopia (green-blind)
#0068DA
Tritanopia (blue-blind)
#676B8D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8047dd;
/* rgb */ color: rgb(128, 71, 221);
/* oklch */ color: oklch(54.7% 0.216 295.9);
Tailwind
colors: {
  custom: {
    50: '#ac7ee9',
    500: '#8047dd',
    950: '#000000',
  },
}
SCSS
$custom: #8047dd;
$custom-light: #ac7ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#8047dd",
  "rgb": {
    "r": 128,
    "g": 71,
    "b": 221
  },
  "hsl": {
    "h": 262.8,
    "s": 68.807,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54744,
    "c": 0.21563,
    "h": 295.9
  },
  "luminance": 0.14316
}

Semantic roles & 50–950 ramp

primary
#8047DD
secondary
#C7DEA2
accent
#EC3CA9
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8047DD

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

Preview Lab → · Contrast checker → · Palette generator →

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