#803BCB#803BCB

#803BCB is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.9% C 0.210 H 301.2°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#803BCB
RGBrgb(128, 59, 203)
HSLhsl(269, 58%, 51%)
HSVhsv(269, 71%, 80%)
CMYKcmyk(36.9%, 70.9%, 0%, 20.4%)
CIE-LABlab(41.26, 56.61, -63.11)
CIE-LCHlch(41.26, 84.78, 311.89°)
OKLaboklab(51.88% 0.1089 -0.1799)
OKLCHoklch(51.88% 0.21 301.2)
XYZxyz(21.2429, 12.0288, 57.6910)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803BCB #86CB3B
analogous
#3B3ECB #803BCB #C83BCB
triadic
#803BCB #CB803B #3BCB80
tetradic
#803BCB #CB3B3E #86CB3B #3BCBC8
square
#803BCB #CB3B3E #86CB3B #3BCBC8
split-complementary
#803BCB #CBC83B #3ECB3B
monochromatic
#441D6E #622A9F #803BCB #9F6BD8 #BF9CE5

Accessibility & contrast

On white

6.17
#803BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#803BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803BCB
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803BCB#FFFFFF#000000##FFFFFF
##803BCB1.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CF
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#705E7F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #803bcb;
/* rgb */ color: rgb(128, 59, 203);
/* oklch */ color: oklch(51.9% 0.210 301.2);
Tailwind
colors: {
  custom: {
    50: '#ab77dc',
    500: '#803bcb',
    950: '#000000',
  },
}
SCSS
$custom: #803bcb;
$custom-light: #ab77dc;
$custom-dark: #000000;
JSON
{
  "hex": "#803bcb",
  "rgb": {
    "r": 128,
    "g": 59,
    "b": 203
  },
  "hsl": {
    "h": 268.75,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51882,
    "c": 0.21028,
    "h": 301.2
  },
  "luminance": 0.12029
}

Semantic roles & 50–950 ramp

primary
#803BCB
secondary
#B2D191
accent
#E14797
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #803BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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