#8062DD#8062DD

#8062DD is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.7% C 0.180 H 291.1°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8062DD
RGBrgb(128, 98, 221)
HSLhsl(255, 64%, 63%)
HSVhsv(255, 56%, 87%)
CMYKcmyk(42.1%, 55.7%, 0%, 13.3%)
CIE-LABlab(50.15, 40.76, -59.04)
CIE-LCHlch(50.15, 71.75, 304.62°)
OKLaboklab(58.72% 0.0647 -0.168)
OKLCHoklch(58.72% 0.18 291.1)
XYZxyz(26.3173, 18.5442, 70.5854)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8062DD #BFDD62
analogous
#6282DD #8062DD #BD62DD
triadic
#8062DD #DD8062 #62DD80
tetradic
#8062DD #DD6282 #BFDD62 #62DDBD
square
#8062DD #DD6282 #BFDD62 #62DDBD
split-complementary
#8062DD #DDBD62 #82DD62
monochromatic
#4223A2 #5730D2 #8062DD #A994E8 #D1C7F3

Accessibility & contrast

On white

4.46
#8062DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#8062DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8062DD
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8062DD#FFFFFF#000000##000000
##8062DD1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E79E1
Deuteranopia (green-blind)
#2675DA
Tritanopia (blue-blind)
#667D96
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8062dd;
/* rgb */ color: rgb(128, 98, 221);
/* oklch */ color: oklch(58.7% 0.180 291.1);
Tailwind
colors: {
  custom: {
    50: '#aa8fe8',
    500: '#8062dd',
    950: '#000000',
  },
}
SCSS
$custom: #8062dd;
$custom-light: #aa8fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#8062dd",
  "rgb": {
    "r": 128,
    "g": 98,
    "b": 221
  },
  "hsl": {
    "h": 254.634,
    "s": 64.398,
    "l": 62.549
  },
  "oklch": {
    "l": 0.58721,
    "c": 0.18006,
    "h": 291.1
  },
  "luminance": 0.18545
}

Semantic roles & 50–950 ramp

primary
#8062DD
secondary
#D9E4B7
accent
#CC19A1
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #8062DD

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

Preview Lab → · Contrast checker → · Palette generator →

#8062DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva