#8047CA#8047CA

#8047CA is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.3% C 0.194 H 299.8°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8047CA
RGBrgb(128, 71, 202)
HSLhsl(266, 55%, 54%)
HSVhsv(266, 65%, 79%)
CMYKcmyk(36.6%, 64.9%, 0%, 20.8%)
CIE-LABlab(43.30, 50.52, -59.22)
CIE-LCHlch(43.30, 77.84, 310.46°)
OKLaboklab(53.32% 0.0965 -0.1685)
OKLCHoklch(53.32% 0.194 299.8)
XYZxyz(21.8134, 13.3597, 57.2951)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8047CA #91CA47
analogous
#474FCA #8047CA #C147CA
triadic
#8047CA #CA8047 #47CA80
tetradic
#8047CA #CA474F #91CA47 #47CAC1
square
#8047CA #CA474F #91CA47 #47CAC1
split-complementary
#8047CA #CAC147 #4FCA47
monochromatic
#462275 #622FA4 #8047CA #A177D8 #C2A6E5

Accessibility & contrast

On white

5.72
#8047CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#8047CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8047CA
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8047CA#FFFFFF#000000##FFFFFF
##8047CA1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#0065C7
Tritanopia (blue-blind)
#706582
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8047ca;
/* rgb */ color: rgb(128, 71, 202);
/* oklch */ color: oklch(53.3% 0.194 299.8);
Tailwind
colors: {
  custom: {
    50: '#aa7edb',
    500: '#8047ca',
    950: '#000000',
  },
}
SCSS
$custom: #8047ca;
$custom-light: #aa7edb;
$custom-dark: #000000;
JSON
{
  "hex": "#8047ca",
  "rgb": {
    "r": 128,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 266.107,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53318,
    "c": 0.1942,
    "h": 299.8
  },
  "luminance": 0.1336
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8047CA

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

Preview Lab → · Contrast checker → · Palette generator →

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