#8A60EF#8A60EF

#8A60EF is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.6% C 0.205 H 292.8°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8A60EF
RGBrgb(138, 96, 239)
HSLhsl(258, 82%, 66%)
HSVhsv(258, 60%, 94%)
CMYKcmyk(42.3%, 59.8%, 0%, 6.3%)
CIE-LABlab(51.84, 48.94, -66.40)
CIE-LCHlch(51.84, 82.49, 306.39°)
OKLaboklab(60.56% 0.0794 -0.1894)
OKLCHoklch(60.56% 0.205 292.8)
XYZxyz(30.2399, 20.0001, 83.9118)
Luminance0.2000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A60EF #C5EF60
analogous
#607EEF #8A60EF #D160EF
triadic
#8A60EF #EF8A60 #60EF8A
tetradic
#8A60EF #EF607E #C5EF60 #60EFD1
square
#8A60EF #EF607E #C5EF60 #60EFD1
split-complementary
#8A60EF #EFD160 #7EEF60
monochromatic
#4613C1 #6128E9 #8A60EF #B398F5 #DCCFFA

Accessibility & contrast

On white

4.20
#8A60EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#8A60EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A60EF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A60EF#FFFFFF#000000##000000
##8A60EF1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF4
Deuteranopia (green-blind)
#0079EC
Tritanopia (blue-blind)
#6E809F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a60ef;
/* rgb */ color: rgb(138, 96, 239);
/* oklch */ color: oklch(60.6% 0.205 292.8);
Tailwind
colors: {
  custom: {
    50: '#b28ff5',
    500: '#8a60ef',
    950: '#000000',
  },
}
SCSS
$custom: #8a60ef;
$custom-light: #b28ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a60ef",
  "rgb": {
    "r": 138,
    "g": 96,
    "b": 239
  },
  "hsl": {
    "h": 257.622,
    "s": 81.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.60557,
    "c": 0.20536,
    "h": 292.8
  },
  "luminance": 0.20001
}

Semantic roles & 50–950 ramp

primary
#8A60EF
secondary
#DFEDBE
accent
#DE079F
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8A60EF

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

Preview Lab → · Contrast checker → · Palette generator →

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