#8032CD#8032CD

#8032CD is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 51.1% C 0.222 H 301.7°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#8032CD
RGBrgb(128, 50, 205)
HSLhsl(270, 61%, 50%)
HSVhsv(270, 76%, 80%)
CMYKcmyk(37.6%, 75.6%, 0%, 19.6%)
CIE-LABlab(40.05, 60.98, -66.25)
CIE-LCHlch(40.05, 90.05, 312.63°)
OKLaboklab(51.07% 0.1167 -0.1891)
OKLCHoklch(51.07% 0.222 301.7)
XYZxyz(21.0595, 11.2781, 58.8132)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8032CD #7FCD32
analogous
#3332CD #8032CD #CD32CC
triadic
#8032CD #CD8032 #32CD80
tetradic
#8032CD #CD3332 #7FCD32 #32CCCD
square
#8032CD #CD3332 #7FCD32 #32CCCD
split-complementary
#8032CD #CCCD32 #32CD33
monochromatic
#431A6B #61269C #8032CD #9E63D9 #BD94E5

Accessibility & contrast

On white

6.45
#8032CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#8032CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8032CD
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8032CD#FFFFFF#000000##FFFFFF
##8032CD1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD1
Deuteranopia (green-blind)
#005ECA
Tritanopia (blue-blind)
#6F5A7E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8032cd;
/* rgb */ color: rgb(128, 50, 205);
/* oklch */ color: oklch(51.1% 0.222 301.7);
Tailwind
colors: {
  custom: {
    50: '#ab72dd',
    500: '#8032cd',
    950: '#000000',
  },
}
SCSS
$custom: #8032cd;
$custom-light: #ab72dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8032cd",
  "rgb": {
    "r": 128,
    "g": 50,
    "b": 205
  },
  "hsl": {
    "h": 270.194,
    "s": 60.784,
    "l": 50
  },
  "oklch": {
    "l": 0.51071,
    "c": 0.22218,
    "h": 301.7
  },
  "luminance": 0.11278
}

Semantic roles & 50–950 ramp

primary
#8032CD
secondary
#ADD08B
accent
#E44493
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #8032CD

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

Preview Lab → · Contrast checker → · Palette generator →

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