#803BBF#803BBF

#803BBF is a mid, vivid violet. Relative luminance 0.115; OKLCH L 51.0% C 0.198 H 304.1°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#803BBF
RGBrgb(128, 59, 191)
HSLhsl(271, 53%, 49%)
HSVhsv(271, 69%, 75%)
CMYKcmyk(33%, 69.1%, 0%, 25.1%)
CIE-LABlab(40.38, 53.74, -57.56)
CIE-LCHlch(40.38, 78.75, 313.03°)
OKLaboklab(50.97% 0.1108 -0.1636)
OKLCHoklch(50.97% 0.198 304.1)
XYZxyz(19.8679, 11.4788, 50.4491)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803BBF #7ABF3B
analogous
#3E3BBF #803BBF #BF3BBC
triadic
#803BBF #BF803B #3BBF80
tetradic
#803BBF #BF3E3B #7ABF3B #3BBCBF
square
#803BBF #BF3E3B #7ABF3B #3BBCBF
split-complementary
#803BBF #BCBF3B #3BBF3E
monochromatic
#411E61 #612D90 #803BBF #9E67D0 #BC96DF

Accessibility & contrast

On white

6.37
#803BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#803BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803BBF
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803BBF#FFFFFF#000000##FFFFFF
##803BBF1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#745979
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #803bbf;
/* rgb */ color: rgb(128, 59, 191);
/* oklch */ color: oklch(51.0% 0.198 304.1);
Tailwind
colors: {
  custom: {
    50: '#aa76d3',
    500: '#803bbf',
    950: '#000000',
  },
}
SCSS
$custom: #803bbf;
$custom-light: #aa76d3;
$custom-dark: #000000;
JSON
{
  "hex": "#803bbf",
  "rgb": {
    "r": 128,
    "g": 59,
    "b": 191
  },
  "hsl": {
    "h": 271.364,
    "s": 52.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50972,
    "c": 0.19758,
    "h": 304.1
  },
  "luminance": 0.11479
}

Semantic roles & 50–950 ramp

primary
#803BBF
secondary
#A9CA8C
accent
#DC4C91
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #803BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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