#803BDB#803BDB

#803BDB is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.2% C 0.227 H 297.7°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#803BDB
RGBrgb(128, 59, 219)
HSLhsl(266, 69%, 55%)
HSVhsv(266, 73%, 86%)
CMYKcmyk(41.6%, 73.1%, 0%, 14.1%)
CIE-LABlab(42.51, 60.51, -70.29)
CIE-LCHlch(42.51, 92.75, 310.72°)
OKLaboklab(53.15% 0.1057 -0.201)
OKLCHoklch(53.15% 0.227 297.7)
XYZxyz(23.2489, 12.8312, 68.2559)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803BDB #96DB3B
analogous
#3B46DB #803BDB #D03BDB
triadic
#803BDB #DB803B #3BDB80
tetradic
#803BDB #DB3B46 #96DB3B #3BDBD0
square
#803BDB #DB3B46 #96DB3B #3BDBD0
split-complementary
#803BDB #DBD03B #46DB3B
monochromatic
#461883 #6222B7 #803BDB #A26FE4 #C3A2EE

Accessibility & contrast

On white

5.89
#803BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#803BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803BDB
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803BDB#FFFFFF#000000##FFFFFF
##803BDB1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E0
Deuteranopia (green-blind)
#0063D8
Tritanopia (blue-blind)
#696488
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #803bdb;
/* rgb */ color: rgb(128, 59, 219);
/* oklch */ color: oklch(53.2% 0.227 297.7);
Tailwind
colors: {
  custom: {
    50: '#ac77e7',
    500: '#803bdb',
    950: '#000000',
  },
}
SCSS
$custom: #803bdb;
$custom-light: #ac77e7;
$custom-dark: #000000;
JSON
{
  "hex": "#803bdb",
  "rgb": {
    "r": 128,
    "g": 59,
    "b": 219
  },
  "hsl": {
    "h": 265.875,
    "s": 68.966,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53152,
    "c": 0.2271,
    "h": 297.7
  },
  "luminance": 0.12832
}

Semantic roles & 50–950 ramp

primary
#803BDB
secondary
#BEDB97
accent
#EC3CA0
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #803BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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