#8A60F6#8A60F6

#8A60F6 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.1% C 0.214 H 291.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8A60F6
RGBrgb(138, 96, 246)
HSLhsl(257, 89%, 67%)
HSVhsv(257, 61%, 96%)
CMYKcmyk(43.9%, 61%, 0%, 3.5%)
CIE-LABlab(52.31, 50.82, -69.55)
CIE-LCHlch(52.31, 86.13, 306.15°)
OKLaboklab(61.05% 0.0791 -0.1986)
OKLCHoklch(61.05% 0.214 291.7)
XYZxyz(31.2940, 20.4218, 89.4639)
Luminance0.2042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A60F6 #CCF660
analogous
#6081F6 #8A60F6 #D560F6
triadic
#8A60F6 #F68A60 #60F68A
tetradic
#8A60F6 #F66081 #CCF660 #60F6D5
square
#8A60F6 #F66081 #CCF660 #60F6D5
split-complementary
#8A60F6 #F6D560 #81F660
monochromatic
#430CD0 #5F26F3 #8A60F6 #B59AF9 #DFD4FD

Accessibility & contrast

On white

4.13
#8A60F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#8A60F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A60F6
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A60F6#FFFFFF#000000##000000
##8A60F61.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFB
Deuteranopia (green-blind)
#007AF3
Tritanopia (blue-blind)
#6A82A2
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a60f6;
/* rgb */ color: rgb(138, 96, 246);
/* oklch */ color: oklch(61.1% 0.214 291.7);
Tailwind
colors: {
  custom: {
    50: '#b38ffa',
    500: '#8a60f6',
    950: '#000000',
  },
}
SCSS
$custom: #8a60f6;
$custom-light: #b38ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a60f6",
  "rgb": {
    "r": 138,
    "g": 96,
    "b": 246
  },
  "hsl": {
    "h": 256.8,
    "s": 89.286,
    "l": 67.059
  },
  "oklch": {
    "l": 0.61052,
    "c": 0.21377,
    "h": 291.7
  },
  "luminance": 0.20423
}

Semantic roles & 50–950 ramp

primary
#8A60F6
secondary
#E3F1C1
accent
#E600A5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8A60F6

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

Preview Lab → · Contrast checker → · Palette generator →

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