#8060D3#8060D3

#8060D3 is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.7% C 0.170 H 293.2°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#8060D3
RGBrgb(128, 96, 211)
HSLhsl(257, 57%, 60%)
HSVhsv(257, 55%, 83%)
CMYKcmyk(39.3%, 54.5%, 0%, 17.3%)
CIE-LABlab(49.08, 39.16, -55.08)
CIE-LCHlch(49.08, 67.59, 305.41°)
OKLaboklab(57.73% 0.0669 -0.1564)
OKLCHoklch(57.73% 0.17 293.2)
XYZxyz(24.8397, 17.6575, 63.7149)
Luminance0.1766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8060D3 #B3D360
analogous
#6079D3 #8060D3 #BA60D3
triadic
#8060D3 #D38060 #60D380
tetradic
#8060D3 #D36079 #B3D360 #60D3BA
square
#8060D3 #D36079 #B3D360 #60D3BA
split-complementary
#8060D3 #D3BA60 #79D360
monochromatic
#452891 #5C35C1 #8060D3 #A690E0 #CDC0EE

Accessibility & contrast

On white

4.63
#8060D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#8060D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8060D3
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8060D3#FFFFFF#000000##FFFFFF
##8060D31.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2976D7
Deuteranopia (green-blind)
#3273D0
Tritanopia (blue-blind)
#6B7890
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8060d3;
/* rgb */ color: rgb(128, 96, 211);
/* oklch */ color: oklch(57.7% 0.170 293.2);
Tailwind
colors: {
  custom: {
    50: '#a98ee1',
    500: '#8060d3',
    950: '#000000',
  },
}
SCSS
$custom: #8060d3;
$custom-light: #a98ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#8060d3",
  "rgb": {
    "r": 128,
    "g": 96,
    "b": 211
  },
  "hsl": {
    "h": 256.696,
    "s": 56.65,
    "l": 60.196
  },
  "oklch": {
    "l": 0.57728,
    "c": 0.17009,
    "h": 293.2
  },
  "luminance": 0.17658
}

Semantic roles & 50–950 ramp

primary
#8060D3
secondary
#D1DDB1
accent
#C42197
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #8060D3

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

Preview Lab → · Contrast checker → · Palette generator →

#8060D3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva