#8059CB#8059CB

#8059CB is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.1% C 0.170 H 296.3°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8059CB
RGBrgb(128, 89, 203)
HSLhsl(261, 52%, 57%)
HSVhsv(261, 56%, 80%)
CMYKcmyk(36.9%, 56.2%, 0%, 20.4%)
CIE-LABlab(47.03, 41.01, -53.78)
CIE-LCHlch(47.03, 67.63, 307.33°)
OKLaboklab(56.06% 0.0753 -0.1526)
OKLCHoklch(56.06% 0.17 296.3)
XYZxyz(23.2512, 16.0454, 58.3604)
Luminance0.1605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8059CB #A4CB59
analogous
#596BCB #8059CB #B959CB
triadic
#8059CB #CB8059 #59CB80
tetradic
#8059CB #CB596B #A4CB59 #59CBB9
square
#8059CB #CB596B #A4CB59 #59CBB9
split-complementary
#8059CB #CBB959 #6BCB59
monochromatic
#472881 #6037B0 #8059CB #A488DA #C7B6E8

Accessibility & contrast

On white

4.99
#8059CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#8059CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8059CB
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8059CB#FFFFFF#000000##FFFFFF
##8059CB1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2270CF
Deuteranopia (green-blind)
#306EC8
Tritanopia (blue-blind)
#6E7189
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8059cb;
/* rgb */ color: rgb(128, 89, 203);
/* oklch */ color: oklch(56.1% 0.170 296.3);
Tailwind
colors: {
  custom: {
    50: '#a989db',
    500: '#8059cb',
    950: '#000000',
  },
}
SCSS
$custom: #8059cb;
$custom-light: #a989db;
$custom-dark: #000000;
JSON
{
  "hex": "#8059cb",
  "rgb": {
    "r": 128,
    "g": 89,
    "b": 203
  },
  "hsl": {
    "h": 260.526,
    "s": 52.294,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5606,
    "c": 0.17014,
    "h": 296.3
  },
  "luminance": 0.16046
}

Semantic roles & 50–950 ramp

primary
#8059CB
secondary
#C7D7A9
accent
#DC4CAB
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #8059CB

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

Preview Lab → · Contrast checker → · Palette generator →

#8059CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva