#8038AE#8038AE

#8038AE is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.4% C 0.184 H 309.2°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#8038AE
RGBrgb(128, 56, 174)
HSLhsl(277, 51%, 45%)
HSVhsv(277, 68%, 68%)
CMYKcmyk(26.4%, 67.8%, 0%, 31.8%)
CIE-LABlab(38.68, 51.20, -50.28)
CIE-LCHlch(38.68, 71.76, 315.52°)
OKLaboklab(49.38% 0.116 -0.1422)
OKLCHoklch(49.38% 0.184 309.2)
XYZxyz(17.9547, 10.4739, 41.1120)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8038AE #66AE38
analogous
#4538AE #8038AE #AE38A1
triadic
#8038AE #AE8038 #38AE80
tetradic
#8038AE #AE4538 #66AE38 #38A1AE
square
#8038AE #AE4538 #66AE38 #38A1AE
split-complementary
#8038AE #A1AE38 #38AE45
monochromatic
#3C1A51 #5E2980 #8038AE #9E59CA #B988D9

Accessibility & contrast

On white

6.79
#8038AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8038AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8038AE
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8038AE#FFFFFF#000000##FFFFFF
##8038AE1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#235CAB
Tritanopia (blue-blind)
#79516E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8038ae;
/* rgb */ color: rgb(128, 56, 174);
/* oklch */ color: oklch(49.4% 0.184 309.2);
Tailwind
colors: {
  custom: {
    50: '#a974c7',
    500: '#8038ae',
    950: '#000000',
  },
}
SCSS
$custom: #8038ae;
$custom-light: #a974c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8038ae",
  "rgb": {
    "r": 128,
    "g": 56,
    "b": 174
  },
  "hsl": {
    "h": 276.61,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.49382,
    "c": 0.18354,
    "h": 309.2
  },
  "luminance": 0.10474
}

Semantic roles & 50–950 ramp

primary
#8038AE
secondary
#99C37F
accent
#DB4D84
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8038AE

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

Preview Lab → · Contrast checker → · Palette generator →

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