#803DBF#803DBF

#803DBF is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.2% C 0.195 H 303.8°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#803DBF
RGBrgb(128, 61, 191)
HSLhsl(271, 52%, 49%)
HSVhsv(271, 68%, 75%)
CMYKcmyk(33%, 68.1%, 0%, 25.1%)
CIE-LABlab(40.72, 52.79, -57.01)
CIE-LCHlch(40.72, 77.70, 312.80°)
OKLaboklab(51.22% 0.1086 -0.162)
OKLCHoklch(51.22% 0.195 303.8)
XYZxyz(19.9727, 11.6883, 50.4840)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803DBF #7CBF3D
analogous
#3F3DBF #803DBF #BF3DBD
triadic
#803DBF #BF803D #3DBF80
tetradic
#803DBF #BF3F3D #7CBF3D #3DBDBF
square
#803DBF #BF3F3D #7CBF3D #3DBDBF
split-complementary
#803DBF #BDBF3D #3DBF3F
monochromatic
#421F62 #612E91 #803DBF #9E6ACF #BC98DE

Accessibility & contrast

On white

6.29
#803DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#803DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803DBF
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803DBF#FFFFFF#000000##FFFFFF
##803DBF1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#0260BC
Tritanopia (blue-blind)
#745A79
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #803dbf;
/* rgb */ color: rgb(128, 61, 191);
/* oklch */ color: oklch(51.2% 0.195 303.8);
Tailwind
colors: {
  custom: {
    50: '#aa77d3',
    500: '#803dbf',
    950: '#000000',
  },
}
SCSS
$custom: #803dbf;
$custom-light: #aa77d3;
$custom-dark: #000000;
JSON
{
  "hex": "#803dbf",
  "rgb": {
    "r": 128,
    "g": 61,
    "b": 191
  },
  "hsl": {
    "h": 270.923,
    "s": 51.587,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51216,
    "c": 0.19505,
    "h": 303.8
  },
  "luminance": 0.11688
}

Semantic roles & 50–950 ramp

primary
#803DBF
secondary
#ABCA8E
accent
#DB4D92
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #803DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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