#803FEA#803FEA

#803FEA is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.8% C 0.239 H 294.5°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#803FEA
RGBrgb(128, 63, 234)
HSLhsl(263, 80%, 58%)
HSVhsv(263, 73%, 92%)
CMYKcmyk(45.3%, 73.1%, 0%, 8.2%)
CIE-LABlab(44.35, 62.45, -75.81)
CIE-LCHlch(44.35, 98.22, 309.48°)
OKLaboklab(54.83% 0.0988 -0.2172)
OKLCHoklch(54.83% 0.239 294.5)
XYZxyz(25.5268, 14.0840, 79.1995)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803FEA #A9EA3F
analogous
#3F53EA #803FEA #D53FEA
triadic
#803FEA #EA803F #3FEA80
tetradic
#803FEA #EA3F53 #A9EA3F #3FEAD5
square
#803FEA #EA3F53 #A9EA3F #3FEAD5
split-complementary
#803FEA #EAD53F #53EA3F
monochromatic
#46119D #5F17D5 #803FEA #A476F0 #C9ADF6

Accessibility & contrast

On white

5.50
#803FEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#803FEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803FEA
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803FEA#FFFFFF#000000##FFFFFF
##803FEA1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEF
Deuteranopia (green-blind)
#0066E7
Tritanopia (blue-blind)
#616C92
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #803fea;
/* rgb */ color: rgb(128, 63, 234);
/* oklch */ color: oklch(54.8% 0.239 294.5);
Tailwind
colors: {
  custom: {
    50: '#ae7af2',
    500: '#803fea',
    950: '#000000',
  },
}
SCSS
$custom: #803fea;
$custom-light: #ae7af2;
$custom-dark: #000000;
JSON
{
  "hex": "#803fea",
  "rgb": {
    "r": 128,
    "g": 63,
    "b": 234
  },
  "hsl": {
    "h": 262.807,
    "s": 80.282,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54828,
    "c": 0.23868,
    "h": 294.5
  },
  "luminance": 0.14085
}

Semantic roles & 50–950 ramp

primary
#803FEA
secondary
#CBE4A0
accent
#F731AC
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A17
muted
#807C85

Preview Lab

Preview with #803FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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