#8039DA#8039DA

#8039DA is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.9% C 0.228 H 298.1°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#8039DA
RGBrgb(128, 57, 218)
HSLhsl(266, 69%, 54%)
HSVhsv(266, 74%, 85%)
CMYKcmyk(41.3%, 73.9%, 0%, 14.5%)
CIE-LABlab(42.12, 61.14, -70.36)
CIE-LCHlch(42.12, 93.21, 310.99°)
OKLaboklab(52.85% 0.1076 -0.2012)
OKLCHoklch(52.85% 0.228 298.1)
XYZxyz(23.0168, 12.5770, 67.5310)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8039DA #93DA39
analogous
#3943DA #8039DA #D139DA
triadic
#8039DA #DA8039 #39DA80
tetradic
#8039DA #DA3943 #93DA39 #39DAD1
square
#8039DA #DA3943 #93DA39 #39DAD1
split-complementary
#8039DA #DAD139 #43DA39
monochromatic
#461881 #6222B4 #8039DA #A16DE4 #C2A0ED

Accessibility & contrast

On white

5.97
#8039DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8039DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8039DA
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8039DA#FFFFFF#000000##FFFFFF
##8039DA1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DF
Deuteranopia (green-blind)
#0062D7
Tritanopia (blue-blind)
#696387
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8039da;
/* rgb */ color: rgb(128, 57, 218);
/* oklch */ color: oklch(52.9% 0.228 298.1);
Tailwind
colors: {
  custom: {
    50: '#ac76e7',
    500: '#8039da',
    950: '#000000',
  },
}
SCSS
$custom: #8039da;
$custom-light: #ac76e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8039da",
  "rgb": {
    "r": 128,
    "g": 57,
    "b": 218
  },
  "hsl": {
    "h": 266.46,
    "s": 68.511,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52853,
    "c": 0.22817,
    "h": 298.1
  },
  "luminance": 0.12577
}

Semantic roles & 50–950 ramp

primary
#8039DA
secondary
#BBDA95
accent
#EB3C9E
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #8039DA

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

Preview Lab → · Contrast checker → · Palette generator →

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