#8039CF#8039CF

#8039CF is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.0% C 0.217 H 300.5°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#8039CF
RGBrgb(128, 57, 207)
HSLhsl(268, 61%, 52%)
HSVhsv(268, 72%, 81%)
CMYKcmyk(38.2%, 72.5%, 0%, 18.8%)
CIE-LABlab(41.25, 58.48, -65.45)
CIE-LCHlch(41.25, 87.77, 311.78°)
OKLaboklab(51.97% 0.11 -0.1868)
OKLCHoklch(51.97% 0.217 300.5)
XYZxyz(21.6249, 12.0203, 60.2002)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8039CF #88CF39
analogous
#393DCF #8039CF #CB39CF
triadic
#8039CF #CF8039 #39CF80
tetradic
#8039CF #CF393D #88CF39 #39CFCB
square
#8039CF #CF393D #88CF39 #39CFCB
split-complementary
#8039CF #CFCB39 #3DCF39
monochromatic
#441C72 #6228A3 #8039CF #A06ADB #BF9CE7

Accessibility & contrast

On white

6.17
#8039CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8039CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8039CF
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8039CF#FFFFFF#000000##FFFFFF
##8039CF1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D3
Deuteranopia (green-blind)
#0060CC
Tritanopia (blue-blind)
#6E5F81
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8039cf;
/* rgb */ color: rgb(128, 57, 207);
/* oklch */ color: oklch(52.0% 0.217 300.5);
Tailwind
colors: {
  custom: {
    50: '#ab76df',
    500: '#8039cf',
    950: '#000000',
  },
}
SCSS
$custom: #8039cf;
$custom-light: #ab76df;
$custom-dark: #000000;
JSON
{
  "hex": "#8039cf",
  "rgb": {
    "r": 128,
    "g": 57,
    "b": 207
  },
  "hsl": {
    "h": 268.4,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51968,
    "c": 0.21676,
    "h": 300.5
  },
  "luminance": 0.1202
}

Semantic roles & 50–950 ramp

primary
#8039CF
secondary
#B4D391
accent
#E44498
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8039CF

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

Preview Lab → · Contrast checker → · Palette generator →

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