#8033CB#8033CB

#8033CB is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 51.0% C 0.219 H 302.0°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#8033CB
RGBrgb(128, 51, 203)
HSLhsl(270, 60%, 50%)
HSVhsv(270, 75%, 80%)
CMYKcmyk(36.9%, 74.9%, 0%, 20.4%)
CIE-LABlab(40.03, 60.11, -65.12)
CIE-LCHlch(40.03, 88.62, 312.71°)
OKLaboklab(51.01% 0.1163 -0.1858)
OKLCHoklch(51.01% 0.219 302)
XYZxyz(20.8628, 11.2686, 57.5643)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8033CB #7ECB33
analogous
#3433CB #8033CB #CB33CA
triadic
#8033CB #CB8033 #33CB80
tetradic
#8033CB #CB3433 #7ECB33 #33CACB
square
#8033CB #CB3433 #7ECB33 #33CACB
split-complementary
#8033CB #CACB33 #33CB34
monochromatic
#421A69 #61279A #8033CB #9E63D8 #BD94E4

Accessibility & contrast

On white

6.45
#8033CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#8033CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8033CB
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8033CB#FFFFFF#000000##FFFFFF
##8033CB1.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCF
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#705A7D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8033cb;
/* rgb */ color: rgb(128, 51, 203);
/* oklch */ color: oklch(51.0% 0.219 302.0);
Tailwind
colors: {
  custom: {
    50: '#ab72dc',
    500: '#8033cb',
    950: '#000000',
  },
}
SCSS
$custom: #8033cb;
$custom-light: #ab72dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8033cb",
  "rgb": {
    "r": 128,
    "g": 51,
    "b": 203
  },
  "hsl": {
    "h": 270.395,
    "s": 59.843,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51011,
    "c": 0.21915,
    "h": 302
  },
  "luminance": 0.11269
}

Semantic roles & 50–950 ramp

primary
#8033CB
secondary
#ACCF8B
accent
#E34593
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #8033CB

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

Preview Lab → · Contrast checker → · Palette generator →

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