#803FAF#803FAF

#803FAF is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.3% C 0.175 H 308.0°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#803FAF
RGBrgb(128, 63, 175)
HSLhsl(275, 47%, 47%)
HSVhsv(275, 64%, 69%)
CMYKcmyk(26.9%, 64%, 0%, 31.4%)
CIE-LABlab(39.98, 48.03, -48.78)
CIE-LCHlch(39.98, 68.45, 314.56°)
OKLaboklab(50.34% 0.1078 -0.1378)
OKLCHoklch(50.34% 0.175 308)
XYZxyz(18.4159, 11.2396, 41.7484)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803FAF #6EAF3F
analogous
#483FAF #803FAF #AF3FA6
triadic
#803FAF #AF803F #3FAF80
tetradic
#803FAF #AF483F #6EAF3F #3FA6AF
square
#803FAF #AF483F #6EAF3F #3FA6AF
split-complementary
#803FAF #A6AF3F #3FAF48
monochromatic
#3E1F55 #5F2F82 #803FAF #9E64C7 #BA91D7

Accessibility & contrast

On white

6.47
#803FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #803FAF
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803FAF#FFFFFF#000000##FFFFFF
##803FAF1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#2B5FAC
Tritanopia (blue-blind)
#795671
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #803faf;
/* rgb */ color: rgb(128, 63, 175);
/* oklch */ color: oklch(50.3% 0.175 308.0);
Tailwind
colors: {
  custom: {
    50: '#a878c7',
    500: '#803faf',
    950: '#000000',
  },
}
SCSS
$custom: #803faf;
$custom-light: #a878c7;
$custom-dark: #000000;
JSON
{
  "hex": "#803faf",
  "rgb": {
    "r": 128,
    "g": 63,
    "b": 175
  },
  "hsl": {
    "h": 274.821,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.5034,
    "c": 0.17499,
    "h": 308
  },
  "luminance": 0.11239
}

Semantic roles & 50–950 ramp

primary
#803FAF
secondary
#A0C387
accent
#D75189
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #803FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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