#803FB2#803FB2

#803FB2 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.5% C 0.178 H 307.1°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#803FB2
RGBrgb(128, 63, 178)
HSLhsl(274, 48%, 47%)
HSVhsv(274, 65%, 70%)
CMYKcmyk(28.1%, 64.6%, 0%, 30.2%)
CIE-LABlab(40.18, 48.73, -50.24)
CIE-LCHlch(40.18, 69.99, 314.13°)
OKLaboklab(50.54% 0.1076 -0.1421)
OKLCHoklch(50.54% 0.178 307.1)
XYZxyz(18.7138, 11.3588, 43.3175)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803FB2 #71B23F
analogous
#463FB2 #803FB2 #B23FAB
triadic
#803FB2 #B2803F #3FB280
tetradic
#803FB2 #B2463F #71B23F #3FABB2
square
#803FB2 #B2463F #71B23F #3FABB2
split-complementary
#803FB2 #ABB23F #3FB246
monochromatic
#3F1F58 #5F2F85 #803FB2 #9E66C9 #BA93D9

Accessibility & contrast

On white

6.42
#803FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#803FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803FB2
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803FB2#FFFFFF#000000##FFFFFF
##803FB21.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#275FAF
Tritanopia (blue-blind)
#785773
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #803fb2;
/* rgb */ color: rgb(128, 63, 178);
/* oklch */ color: oklch(50.5% 0.178 307.1);
Tailwind
colors: {
  custom: {
    50: '#a978ca',
    500: '#803fb2',
    950: '#000000',
  },
}
SCSS
$custom: #803fb2;
$custom-light: #a978ca;
$custom-dark: #000000;
JSON
{
  "hex": "#803fb2",
  "rgb": {
    "r": 128,
    "g": 63,
    "b": 178
  },
  "hsl": {
    "h": 273.913,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50545,
    "c": 0.17827,
    "h": 307.1
  },
  "luminance": 0.11359
}

Semantic roles & 50–950 ramp

primary
#803FB2
secondary
#A3C489
accent
#D7508B
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #803FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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