#803CCB#803CCB

#803CCB is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.0% C 0.209 H 301.1°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#803CCB
RGBrgb(128, 60, 203)
HSLhsl(269, 58%, 52%)
HSVhsv(269, 70%, 80%)
CMYKcmyk(36.9%, 70.4%, 0%, 20.4%)
CIE-LABlab(41.43, 56.15, -62.84)
CIE-LCHlch(41.43, 84.28, 311.78°)
OKLaboklab(52% 0.1079 -0.1791)
OKLCHoklch(52% 0.209 301.1)
XYZxyz(21.2948, 12.1326, 57.7083)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803CCB #87CB3C
analogous
#3C40CB #803CCB #C73CCB
triadic
#803CCB #CB803C #3CCB80
tetradic
#803CCB #CB3C40 #87CB3C #3CCBC7
square
#803CCB #CB3C40 #87CB3C #3CCBC7
split-complementary
#803CCB #CBC73C #40CB3C
monochromatic
#441E6F #622A9F #803CCB #9F6CD8 #BF9DE5

Accessibility & contrast

On white

6.13
#803CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#803CCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803CCB
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803CCB#FFFFFF#000000##FFFFFF
##803CCB1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CF
Deuteranopia (green-blind)
#0061C8
Tritanopia (blue-blind)
#705F7F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #803ccb;
/* rgb */ color: rgb(128, 60, 203);
/* oklch */ color: oklch(52.0% 0.209 301.1);
Tailwind
colors: {
  custom: {
    50: '#ab77dc',
    500: '#803ccb',
    950: '#000000',
  },
}
SCSS
$custom: #803ccb;
$custom-light: #ab77dc;
$custom-dark: #000000;
JSON
{
  "hex": "#803ccb",
  "rgb": {
    "r": 128,
    "g": 60,
    "b": 203
  },
  "hsl": {
    "h": 268.531,
    "s": 57.895,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51998,
    "c": 0.20912,
    "h": 301.1
  },
  "luminance": 0.12133
}

Semantic roles & 50–950 ramp

primary
#803CCB
secondary
#B3D192
accent
#E14798
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #803CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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