#803EB2#803EB2

#803EB2 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.4% C 0.180 H 307.3°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#803EB2
RGBrgb(128, 62, 178)
HSLhsl(274, 48%, 47%)
HSVhsv(274, 65%, 70%)
CMYKcmyk(28.1%, 65.2%, 0%, 30.2%)
CIE-LABlab(40.00, 49.23, -50.53)
CIE-LCHlch(40.00, 70.54, 314.25°)
OKLaboklab(50.41% 0.1088 -0.143)
OKLCHoklch(50.41% 0.18 307.3)
XYZxyz(18.6589, 11.2490, 43.2992)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803EB2 #70B23E
analogous
#463EB2 #803EB2 #B23EAA
triadic
#803EB2 #B2803E #3EB280
tetradic
#803EB2 #B2463E #70B23E #3EAAB2
square
#803EB2 #B2463E #70B23E #3EAAB2
split-complementary
#803EB2 #AAB23E #3EB246
monochromatic
#3F1E57 #5F2E85 #803EB2 #9E64C9 #BA92D9

Accessibility & contrast

On white

6.46
#803EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#803EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803EB2
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803EB2#FFFFFF#000000##FFFFFF
##803EB21.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#265FAF
Tritanopia (blue-blind)
#785672
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #803eb2;
/* rgb */ color: rgb(128, 62, 178);
/* oklch */ color: oklch(50.4% 0.180 307.3);
Tailwind
colors: {
  custom: {
    50: '#a977ca',
    500: '#803eb2',
    950: '#000000',
  },
}
SCSS
$custom: #803eb2;
$custom-light: #a977ca;
$custom-dark: #000000;
JSON
{
  "hex": "#803eb2",
  "rgb": {
    "r": 128,
    "g": 62,
    "b": 178
  },
  "hsl": {
    "h": 274.138,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50414,
    "c": 0.17966,
    "h": 307.3
  },
  "luminance": 0.11249
}

Semantic roles & 50–950 ramp

primary
#803EB2
secondary
#A2C488
accent
#D8508B
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #803EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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