#8A60D4#8A60D4

#8A60D4 is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.8% C 0.172 H 297.6°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8A60D4
RGBrgb(138, 96, 212)
HSLhsl(262, 57%, 60%)
HSVhsv(262, 55%, 83%)
CMYKcmyk(34.9%, 54.7%, 0%, 16.9%)
CIE-LABlab(50.12, 41.81, -53.92)
CIE-LCHlch(50.12, 68.23, 307.79°)
OKLaboklab(58.75% 0.0797 -0.1527)
OKLCHoklch(58.75% 0.172 297.6)
XYZxyz(26.5448, 18.5221, 64.4512)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A60D4 #AAD460
analogous
#6070D4 #8A60D4 #C460D4
triadic
#8A60D4 #D48A60 #60D48A
tetradic
#8A60D4 #D46070 #AAD460 #60D4C4
square
#8A60D4 #D46070 #AAD460 #60D4C4
split-complementary
#8A60D4 #D4C460 #70D460
monochromatic
#4E2892 #6835C2 #8A60D4 #AD90E1 #D1C0EE

Accessibility & contrast

On white

4.46
#8A60D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#8A60D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A60D4
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A60D4#FFFFFF#000000##000000
##8A60D41.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E78D8
Deuteranopia (green-blind)
#3B76D1
Tritanopia (blue-blind)
#797791
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a60d4;
/* rgb */ color: rgb(138, 96, 212);
/* oklch */ color: oklch(58.8% 0.172 297.6);
Tailwind
colors: {
  custom: {
    50: '#b08ee2',
    500: '#8a60d4',
    950: '#000000',
  },
}
SCSS
$custom: #8a60d4;
$custom-light: #b08ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a60d4",
  "rgb": {
    "r": 138,
    "g": 96,
    "b": 212
  },
  "hsl": {
    "h": 261.724,
    "s": 57.426,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58751,
    "c": 0.17223,
    "h": 297.6
  },
  "luminance": 0.18522
}

Semantic roles & 50–950 ramp

primary
#8A60D4
secondary
#CEDEB2
accent
#C52089
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8A60D4

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

Preview Lab → · Contrast checker → · Palette generator →

#8A60D4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva