#803DCB#803DCB

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

Color values

HEX#803DCB
RGBrgb(128, 61, 203)
HSLhsl(268, 58%, 52%)
HSVhsv(268, 70%, 80%)
CMYKcmyk(36.9%, 70%, 0%, 20.4%)
CIE-LABlab(41.59, 55.69, -62.57)
CIE-LCHlch(41.59, 83.76, 311.67°)
OKLaboklab(52.12% 0.1069 -0.1784)
OKLCHoklch(52.12% 0.208 300.9)
XYZxyz(21.3477, 12.2383, 57.7259)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803DCB #88CB3D
analogous
#3D41CB #803DCB #C73DCB
triadic
#803DCB #CB803D #3DCB80
tetradic
#803DCB #CB3D41 #88CB3D #3DCBC7
square
#803DCB #CB3D41 #88CB3D #3DCBC7
split-complementary
#803DCB #CBC73D #41CB3D
monochromatic
#441E70 #622BA0 #803DCB #A06DD8 #BF9EE5

Accessibility & contrast

On white

6.09
#803DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#803DCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803DCB
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803DCB#FFFFFF#000000##FFFFFF
##803DCB1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #803dcb;
/* rgb */ color: rgb(128, 61, 203);
/* oklch */ color: oklch(52.1% 0.208 300.9);
Tailwind
colors: {
  custom: {
    50: '#ab78dc',
    500: '#803dcb',
    950: '#000000',
  },
}
SCSS
$custom: #803dcb;
$custom-light: #ab78dc;
$custom-dark: #000000;
JSON
{
  "hex": "#803dcb",
  "rgb": {
    "r": 128,
    "g": 61,
    "b": 203
  },
  "hsl": {
    "h": 268.31,
    "s": 57.724,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52117,
    "c": 0.20793,
    "h": 300.9
  },
  "luminance": 0.12238
}

Semantic roles & 50–950 ramp

primary
#803DCB
secondary
#B4D193
accent
#E14798
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #803DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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