#8047CB#8047CB

#8047CB is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.4% C 0.195 H 299.6°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8047CB
RGBrgb(128, 71, 203)
HSLhsl(266, 56%, 54%)
HSVhsv(266, 65%, 80%)
CMYKcmyk(36.9%, 65%, 0%, 20.4%)
CIE-LABlab(43.37, 50.77, -59.69)
CIE-LCHlch(43.37, 78.36, 310.38°)
OKLaboklab(53.39% 0.0964 -0.1699)
OKLCHoklch(53.39% 0.195 299.6)
XYZxyz(21.9322, 13.4072, 57.9207)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8047CB #92CB47
analogous
#4750CB #8047CB #C247CB
triadic
#8047CB #CB8047 #47CB80
tetradic
#8047CB #CB4750 #92CB47 #47CBC2
square
#8047CB #CB4750 #92CB47 #47CBC2
split-complementary
#8047CB #CBC247 #50CB47
monochromatic
#462176 #622FA6 #8047CB #A177D8 #C2A6E6

Accessibility & contrast

On white

5.70
#8047CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#8047CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8047CB
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8047CB#FFFFFF#000000##FFFFFF
##8047CB1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#0065C8
Tritanopia (blue-blind)
#6F6583
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8047cb;
/* rgb */ color: rgb(128, 71, 203);
/* oklch */ color: oklch(53.4% 0.195 299.6);
Tailwind
colors: {
  custom: {
    50: '#aa7edc',
    500: '#8047cb',
    950: '#000000',
  },
}
SCSS
$custom: #8047cb;
$custom-light: #aa7edc;
$custom-dark: #000000;
JSON
{
  "hex": "#8047cb",
  "rgb": {
    "r": 128,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 265.909,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5339,
    "c": 0.19535,
    "h": 299.6
  },
  "luminance": 0.13407
}

Semantic roles & 50–950 ramp

primary
#8047CB
secondary
#BBD39B
accent
#DF499E
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #8047CB

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

Preview Lab → · Contrast checker → · Palette generator →

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