#8059CC#8059CC

#8059CC is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.1% C 0.171 H 296.1°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8059CC
RGBrgb(128, 89, 204)
HSLhsl(260, 53%, 57%)
HSVhsv(260, 56%, 80%)
CMYKcmyk(37.3%, 56.4%, 0%, 20%)
CIE-LABlab(47.10, 41.28, -54.26)
CIE-LCHlch(47.10, 68.17, 307.26°)
OKLaboklab(56.13% 0.0753 -0.154)
OKLCHoklch(56.13% 0.171 296.1)
XYZxyz(23.3708, 16.0932, 58.9900)
Luminance0.1609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8059CC #A5CC59
analogous
#596CCC #8059CC #BA59CC
triadic
#8059CC #CC8059 #59CC80
tetradic
#8059CC #CC596C #A5CC59 #59CCBA
square
#8059CC #CC596C #A5CC59 #59CCBA
split-complementary
#8059CC #CCBA59 #6CCC59
monochromatic
#472883 #6036B1 #8059CC #A488DA #C8B7E9

Accessibility & contrast

On white

4.98
#8059CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#8059CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8059CC
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8059CC#FFFFFF#000000##FFFFFF
##8059CC1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2070D0
Deuteranopia (green-blind)
#2E6EC9
Tritanopia (blue-blind)
#6E718A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8059cc;
/* rgb */ color: rgb(128, 89, 204);
/* oklch */ color: oklch(56.1% 0.171 296.1);
Tailwind
colors: {
  custom: {
    50: '#a989dc',
    500: '#8059cc',
    950: '#000000',
  },
}
SCSS
$custom: #8059cc;
$custom-light: #a989dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8059cc",
  "rgb": {
    "r": 128,
    "g": 89,
    "b": 204
  },
  "hsl": {
    "h": 260.348,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.56126,
    "c": 0.1714,
    "h": 296.1
  },
  "luminance": 0.16094
}

Semantic roles & 50–950 ramp

primary
#8059CC
secondary
#C8D8A9
accent
#DC4BAB
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #8059CC

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

Preview Lab → · Contrast checker → · Palette generator →

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