#8039B0#8039B0

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

Color values

HEX#8039B0
RGBrgb(128, 57, 176)
HSLhsl(276, 51%, 46%)
HSVhsv(276, 68%, 69%)
CMYKcmyk(27.3%, 67.6%, 0%, 31%)
CIE-LABlab(38.99, 51.19, -50.97)
CIE-LCHlch(38.99, 72.24, 315.12°)
OKLaboklab(49.64% 0.1147 -0.1442)
OKLCHoklch(49.64% 0.184 308.5)
XYZxyz(18.2001, 10.6503, 42.1628)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8039B0 #69B039
analogous
#4439B0 #8039B0 #B039A4
triadic
#8039B0 #B08039 #39B080
tetradic
#8039B0 #B04439 #69B039 #39A4B0
square
#8039B0 #B04439 #69B039 #39A4B0
split-complementary
#8039B0 #A4B039 #39B044
monochromatic
#3D1B54 #5E2A82 #8039B0 #9E5CCA #B98AD9

Accessibility & contrast

On white

6.71
#8039B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#8039B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8039B0
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8039B0#FFFFFF#000000##FFFFFF
##8039B01.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B4
Deuteranopia (green-blind)
#215DAD
Tritanopia (blue-blind)
#795270
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8039b0;
/* rgb */ color: rgb(128, 57, 176);
/* oklch */ color: oklch(49.6% 0.184 308.5);
Tailwind
colors: {
  custom: {
    50: '#a975c8',
    500: '#8039b0',
    950: '#000000',
  },
}
SCSS
$custom: #8039b0;
$custom-light: #a975c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8039b0",
  "rgb": {
    "r": 128,
    "g": 57,
    "b": 176
  },
  "hsl": {
    "h": 275.798,
    "s": 51.073,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49644,
    "c": 0.1843,
    "h": 308.5
  },
  "luminance": 0.1065
}

Semantic roles & 50–950 ramp

primary
#8039B0
secondary
#9CC481
accent
#DB4D86
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8039B0

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

Preview Lab → · Contrast checker → · Palette generator →

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