#8039AF#8039AF

#8039AF is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.6% C 0.183 H 308.8°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#8039AF
RGBrgb(128, 57, 175)
HSLhsl(276, 51%, 45%)
HSVhsv(276, 67%, 69%)
CMYKcmyk(26.9%, 67.4%, 0%, 31.4%)
CIE-LABlab(38.92, 50.96, -50.49)
CIE-LCHlch(38.92, 71.74, 315.26°)
OKLaboklab(49.57% 0.1148 -0.1428)
OKLCHoklch(49.57% 0.183 308.8)
XYZxyz(18.1015, 10.6109, 41.6437)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8039AF #68AF39
analogous
#4539AF #8039AF #AF39A3
triadic
#8039AF #AF8039 #39AF80
tetradic
#8039AF #AF4539 #68AF39 #39A3AF
square
#8039AF #AF4539 #68AF39 #39A3AF
split-complementary
#8039AF #A3AF39 #39AF45
monochromatic
#3C1B53 #5E2A81 #8039AF #9E5BCA #B98AD9

Accessibility & contrast

On white

6.73
#8039AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8039AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8039AF
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8039AF#FFFFFF#000000##FFFFFF
##8039AF1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#235DAC
Tritanopia (blue-blind)
#79526F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8039af;
/* rgb */ color: rgb(128, 57, 175);
/* oklch */ color: oklch(49.6% 0.183 308.8);
Tailwind
colors: {
  custom: {
    50: '#a975c8',
    500: '#8039af',
    950: '#000000',
  },
}
SCSS
$custom: #8039af;
$custom-light: #a975c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8039af",
  "rgb": {
    "r": 128,
    "g": 57,
    "b": 175
  },
  "hsl": {
    "h": 276.102,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.49574,
    "c": 0.18325,
    "h": 308.8
  },
  "luminance": 0.10611
}

Semantic roles & 50–950 ramp

primary
#8039AF
secondary
#9BC381
accent
#DA4D86
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8039AF

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

Preview Lab → · Contrast checker → · Palette generator →

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