#8038C0#8038C0

#8038C0 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.7% C 0.202 H 304.2°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#8038C0
RGBrgb(128, 56, 192)
HSLhsl(272, 55%, 49%)
HSVhsv(272, 71%, 75%)
CMYKcmyk(33.3%, 70.8%, 0%, 24.7%)
CIE-LABlab(39.95, 55.36, -58.83)
CIE-LCHlch(39.95, 80.78, 313.26°)
OKLaboklab(50.7% 0.1137 -0.1673)
OKLCHoklch(50.7% 0.202 304.2)
XYZxyz(19.8285, 11.2234, 50.9807)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8038C0 #78C038
analogous
#3C38C0 #8038C0 #C038BC
triadic
#8038C0 #C08038 #38C080
tetradic
#8038C0 #C03C38 #78C038 #38BCC0
square
#8038C0 #C03C38 #78C038 #38BCC0
split-complementary
#8038C0 #BCC038 #38C03C
monochromatic
#411C61 #602A91 #8038C0 #9E64D2 #BB93DF

Accessibility & contrast

On white

6.47
#8038C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8038C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8038C0
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8038C0#FFFFFF#000000##FFFFFF
##8038C01.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC4
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#745878
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8038c0;
/* rgb */ color: rgb(128, 56, 192);
/* oklch */ color: oklch(50.7% 0.202 304.2);
Tailwind
colors: {
  custom: {
    50: '#aa75d4',
    500: '#8038c0',
    950: '#000000',
  },
}
SCSS
$custom: #8038c0;
$custom-light: #aa75d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8038c0",
  "rgb": {
    "r": 128,
    "g": 56,
    "b": 192
  },
  "hsl": {
    "h": 271.765,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50695,
    "c": 0.2023,
    "h": 304.2
  },
  "luminance": 0.11223
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8038C0

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

Preview Lab → · Contrast checker → · Palette generator →

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