#8047CD#8047CD

#8047CD is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.5% C 0.198 H 299.1°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#8047CD
RGBrgb(128, 71, 205)
HSLhsl(266, 57%, 54%)
HSVhsv(266, 65%, 80%)
CMYKcmyk(37.6%, 65.4%, 0%, 19.6%)
CIE-LABlab(43.51, 51.28, -60.62)
CIE-LCHlch(43.51, 79.39, 310.23°)
OKLaboklab(53.54% 0.0962 -0.1726)
OKLCHoklch(53.54% 0.198 299.1)
XYZxyz(22.1720, 13.5032, 59.1840)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8047CD #94CD47
analogous
#4751CD #8047CD #C347CD
triadic
#8047CD #CD8047 #47CD80
tetradic
#8047CD #CD4751 #94CD47 #47CDC3
square
#8047CD #CD4751 #94CD47 #47CDC3
split-complementary
#8047CD #CDC347 #51CD47
monochromatic
#462179 #622EA9 #8047CD #A177DA #C2A7E7

Accessibility & contrast

On white

5.67
#8047CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#8047CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8047CD
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8047CD#FFFFFF#000000##FFFFFF
##8047CD1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#0066CA
Tritanopia (blue-blind)
#6E6684
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8047cd;
/* rgb */ color: rgb(128, 71, 205);
/* oklch */ color: oklch(53.5% 0.198 299.1);
Tailwind
colors: {
  custom: {
    50: '#aa7edd',
    500: '#8047cd',
    950: '#000000',
  },
}
SCSS
$custom: #8047cd;
$custom-light: #aa7edd;
$custom-dark: #000000;
JSON
{
  "hex": "#8047cd",
  "rgb": {
    "r": 128,
    "g": 71,
    "b": 205
  },
  "hsl": {
    "h": 265.522,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53537,
    "c": 0.19761,
    "h": 299.1
  },
  "luminance": 0.13503
}

Semantic roles & 50–950 ramp

primary
#8047CD
secondary
#BCD49B
accent
#E1479F
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8047CD

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

Preview Lab → · Contrast checker → · Palette generator →

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