#803CCC#803CCC

#803CCC is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.1% C 0.210 H 300.8°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#803CCC
RGBrgb(128, 60, 204)
HSLhsl(268, 59%, 52%)
HSVhsv(268, 71%, 80%)
CMYKcmyk(37.3%, 70.6%, 0%, 20%)
CIE-LABlab(41.50, 56.40, -63.30)
CIE-LCHlch(41.50, 84.78, 311.70°)
OKLaboklab(52.08% 0.1077 -0.1805)
OKLCHoklch(52.08% 0.21 300.8)
XYZxyz(21.4144, 12.1804, 58.3379)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803CCC #88CC3C
analogous
#3C40CC #803CCC #C83CCC
triadic
#803CCC #CC803C #3CCC80
tetradic
#803CCC #CC3C40 #88CC3C #3CCCC8
square
#803CCC #CC3C40 #88CC3C #3CCCC8
split-complementary
#803CCC #CCC83C #40CC3C
monochromatic
#441D70 #622AA1 #803CCC #A06DD9 #BF9DE5

Accessibility & contrast

On white

6.11
#803CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#803CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803CCC
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803CCC#FFFFFF#000000##FFFFFF
##803CCC1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D0
Deuteranopia (green-blind)
#0061C9
Tritanopia (blue-blind)
#6F5F80
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #803ccc;
/* rgb */ color: rgb(128, 60, 204);
/* oklch */ color: oklch(52.1% 0.210 300.8);
Tailwind
colors: {
  custom: {
    50: '#ab77dc',
    500: '#803ccc',
    950: '#000000',
  },
}
SCSS
$custom: #803ccc;
$custom-light: #ab77dc;
$custom-dark: #000000;
JSON
{
  "hex": "#803ccc",
  "rgb": {
    "r": 128,
    "g": 60,
    "b": 204
  },
  "hsl": {
    "h": 268.333,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52076,
    "c": 0.21018,
    "h": 300.8
  },
  "luminance": 0.12181
}

Semantic roles & 50–950 ramp

primary
#803CCC
secondary
#B4D192
accent
#E24698
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #803CCC

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

Preview Lab → · Contrast checker → · Palette generator →

#803CCC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva