#803BCC#803BCC

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

Color values

HEX#803BCC
RGBrgb(128, 59, 204)
HSLhsl(269, 59%, 52%)
HSVhsv(269, 71%, 80%)
CMYKcmyk(37.3%, 71.1%, 0%, 20%)
CIE-LABlab(41.34, 56.86, -63.57)
CIE-LCHlch(41.34, 85.28, 311.81°)
OKLaboklab(51.96% 0.1087 -0.1813)
OKLCHoklch(51.96% 0.211 300.9)
XYZxyz(21.3625, 12.0766, 58.3206)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803BCC #87CC3B
analogous
#3B3FCC #803BCC #C93BCC
triadic
#803BCC #CC803B #3BCC80
tetradic
#803BCC #CC3B3F #87CC3B #3BCCC9
square
#803BCC #CC3B3F #87CC3B #3BCCC9
split-complementary
#803BCC #CCC93B #3FCC3B
monochromatic
#441D70 #622AA0 #803BCC #9F6CD9 #BF9CE5

Accessibility & contrast

On white

6.15
#803BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#803BCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803BCC
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803BCC#FFFFFF#000000##FFFFFF
##803BCC1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #803bcc;
/* rgb */ color: rgb(128, 59, 204);
/* oklch */ color: oklch(52.0% 0.211 300.9);
Tailwind
colors: {
  custom: {
    50: '#ab77dc',
    500: '#803bcc',
    950: '#000000',
  },
}
SCSS
$custom: #803bcc;
$custom-light: #ab77dc;
$custom-dark: #000000;
JSON
{
  "hex": "#803bcc",
  "rgb": {
    "r": 128,
    "g": 59,
    "b": 204
  },
  "hsl": {
    "h": 268.552,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51959,
    "c": 0.21135,
    "h": 300.9
  },
  "luminance": 0.12077
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #803BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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