#8039C0#8039C0

#8039C0 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.8% C 0.201 H 304.1°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#8039C0
RGBrgb(128, 57, 192)
HSLhsl(272, 54%, 49%)
HSVhsv(272, 70%, 75%)
CMYKcmyk(33.3%, 70.3%, 0%, 24.7%)
CIE-LABlab(40.12, 54.91, -58.57)
CIE-LCHlch(40.12, 80.28, 313.15°)
OKLaboklab(50.81% 0.1127 -0.1666)
OKLCHoklch(50.81% 0.201 304.1)
XYZxyz(19.8775, 11.3213, 50.9970)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8039C0 #79C039
analogous
#3D39C0 #8039C0 #C039BD
triadic
#8039C0 #C08039 #39C080
tetradic
#8039C0 #C03D39 #79C039 #39BDC0
square
#8039C0 #C03D39 #79C039 #39BDC0
split-complementary
#8039C0 #BDC039 #39C03D
monochromatic
#411D62 #612B91 #8039C0 #9E65D1 #BC94DF

Accessibility & contrast

On white

6.43
#8039C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#8039C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8039C0
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8039C0#FFFFFF#000000##FFFFFF
##8039C01.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC4
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#745978
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8039c0;
/* rgb */ color: rgb(128, 57, 192);
/* oklch */ color: oklch(50.8% 0.201 304.1);
Tailwind
colors: {
  custom: {
    50: '#aa75d4',
    500: '#8039c0',
    950: '#000000',
  },
}
SCSS
$custom: #8039c0;
$custom-light: #aa75d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8039c0",
  "rgb": {
    "r": 128,
    "g": 57,
    "b": 192
  },
  "hsl": {
    "h": 271.556,
    "s": 54.217,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5081,
    "c": 0.20109,
    "h": 304.1
  },
  "luminance": 0.11321
}

Semantic roles & 50–950 ramp

primary
#8039C0
secondary
#A9CB8A
accent
#DE4A90
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8039C0

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

Preview Lab → · Contrast checker → · Palette generator →

#8039C0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva