#803FCB#803FCB

#803FCB is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.4% C 0.206 H 300.7°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#803FCB
RGBrgb(128, 63, 203)
HSLhsl(268, 57%, 52%)
HSVhsv(268, 69%, 80%)
CMYKcmyk(36.9%, 69%, 0%, 20.4%)
CIE-LABlab(41.93, 54.74, -62.02)
CIE-LCHlch(41.93, 82.72, 311.43°)
OKLaboklab(52.36% 0.1049 -0.1767)
OKLCHoklch(52.36% 0.206 300.7)
XYZxyz(21.4565, 12.4558, 57.7621)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803FCB #8ACB3F
analogous
#3F44CB #803FCB #C63FCB
triadic
#803FCB #CB803F #3FCB80
tetradic
#803FCB #CB3F44 #8ACB3F #3FCBC6
square
#803FCB #CB3F44 #8ACB3F #3FCBC6
split-complementary
#803FCB #CBC63F #44CB3F
monochromatic
#451F71 #622CA1 #803FCB #A06FD8 #C09FE5

Accessibility & contrast

On white

6.02
#803FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#803FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803FCB
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803FCB#FFFFFF#000000##FFFFFF
##803FCB1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CF
Deuteranopia (green-blind)
#0062C8
Tritanopia (blue-blind)
#6F6080
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #803fcb;
/* rgb */ color: rgb(128, 63, 203);
/* oklch */ color: oklch(52.4% 0.206 300.7);
Tailwind
colors: {
  custom: {
    50: '#ab79dc',
    500: '#803fcb',
    950: '#000000',
  },
}
SCSS
$custom: #803fcb;
$custom-light: #ab79dc;
$custom-dark: #000000;
JSON
{
  "hex": "#803fcb",
  "rgb": {
    "r": 128,
    "g": 63,
    "b": 203
  },
  "hsl": {
    "h": 267.857,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52358,
    "c": 0.20551,
    "h": 300.7
  },
  "luminance": 0.12456
}

Semantic roles & 50–950 ramp

primary
#803FCB
secondary
#B5D194
accent
#E14799
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #803FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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