#803BB2#803BB2

#803BB2 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 50.0% C 0.184 H 307.7°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#803BB2
RGBrgb(128, 59, 178)
HSLhsl(275, 50%, 46%)
HSVhsv(275, 67%, 70%)
CMYKcmyk(28.1%, 66.9%, 0%, 30.2%)
CIE-LABlab(39.47, 50.69, -51.38)
CIE-LCHlch(39.47, 72.18, 314.61°)
OKLaboklab(50.03% 0.1123 -0.1455)
OKLCHoklch(50.03% 0.184 307.7)
XYZxyz(18.5003, 10.9317, 43.2463)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803BB2 #6DB23B
analogous
#453BB2 #803BB2 #B23BA9
triadic
#803BB2 #B2803B #3BB280
tetradic
#803BB2 #B2453B #6DB23B #3BA9B2
square
#803BB2 #B2453B #6DB23B #3BA9B2
split-complementary
#803BB2 #A9B23B #3BB245
monochromatic
#3E1D56 #5F2C84 #803BB2 #9E60CA #BA8EDA

Accessibility & contrast

On white

6.59
#803BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#803BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803BB2
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803BB2#FFFFFF#000000##FFFFFF
##803BB21.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#215EAF
Tritanopia (blue-blind)
#785471
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #803bb2;
/* rgb */ color: rgb(128, 59, 178);
/* oklch */ color: oklch(50.0% 0.184 307.7);
Tailwind
colors: {
  custom: {
    50: '#a976ca',
    500: '#803bb2',
    950: '#000000',
  },
}
SCSS
$custom: #803bb2;
$custom-light: #a976ca;
$custom-dark: #000000;
JSON
{
  "hex": "#803bb2",
  "rgb": {
    "r": 128,
    "g": 59,
    "b": 178
  },
  "hsl": {
    "h": 274.79,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.50032,
    "c": 0.18375,
    "h": 307.7
  },
  "luminance": 0.10931
}

Semantic roles & 50–950 ramp

primary
#803BB2
secondary
#9FC485
accent
#DA4E89
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #803BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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