#803BBB#803BBB

#803BBB is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.7% C 0.193 H 305.1°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#803BBB
RGBrgb(128, 59, 187)
HSLhsl(272, 52%, 48%)
HSVhsv(272, 68%, 73%)
CMYKcmyk(31.6%, 68.4%, 0%, 26.7%)
CIE-LABlab(40.09, 52.80, -55.68)
CIE-LCHlch(40.09, 76.73, 313.48°)
OKLaboklab(50.68% 0.1113 -0.1581)
OKLCHoklch(50.68% 0.193 305.1)
XYZxyz(19.4337, 11.3051, 48.1624)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803BBB #76BB3B
analogous
#403BBB #803BBB #BB3BB6
triadic
#803BBB #BB803B #3BBB80
tetradic
#803BBB #BB403B #76BB3B #3BB6BB
square
#803BBB #BB403B #76BB3B #3BB6BB
split-complementary
#803BBB #B6BB3B #3BBB40
monochromatic
#401E5E #602C8C #803BBB #9E65CE #BB93DD

Accessibility & contrast

On white

6.44
#803BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#803BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803BBB
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803BBB#FFFFFF#000000##FFFFFF
##803BBB1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#0C5FB8
Tritanopia (blue-blind)
#755876
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #803bbb;
/* rgb */ color: rgb(128, 59, 187);
/* oklch */ color: oklch(50.7% 0.193 305.1);
Tailwind
colors: {
  custom: {
    50: '#a976d0',
    500: '#803bbb',
    950: '#000000',
  },
}
SCSS
$custom: #803bbb;
$custom-light: #a976d0;
$custom-dark: #000000;
JSON
{
  "hex": "#803bbb",
  "rgb": {
    "r": 128,
    "g": 59,
    "b": 187
  },
  "hsl": {
    "h": 272.344,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50678,
    "c": 0.19333,
    "h": 305.1
  },
  "luminance": 0.11305
}

Semantic roles & 50–950 ramp

primary
#803BBB
secondary
#A6C88A
accent
#DB4C8E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #803BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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