#8A60E2#8A60E2

#8A60E2 is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.7% C 0.190 H 294.9°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8A60E2
RGBrgb(138, 96, 226)
HSLhsl(259, 69%, 63%)
HSVhsv(259, 58%, 89%)
CMYKcmyk(38.9%, 57.5%, 0%, 11.4%)
CIE-LABlab(50.99, 45.48, -60.47)
CIE-LCHlch(50.99, 75.66, 306.95°)
OKLaboklab(59.67% 0.0798 -0.1719)
OKLCHoklch(59.67% 0.19 294.9)
XYZxyz(28.3880, 19.2594, 74.1585)
Luminance0.1926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A60E2 #B8E260
analogous
#6077E2 #8A60E2 #CB60E2
triadic
#8A60E2 #E28A60 #60E28A
tetradic
#8A60E2 #E26077 #B8E260 #60E2CB
square
#8A60E2 #E26077 #B8E260 #60E2CB
split-complementary
#8A60E2 #E2CB60 #77E260
monochromatic
#4B1FA9 #642CD9 #8A60E2 #B094EB #D6C8F5

Accessibility & contrast

On white

4.33
#8A60E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#8A60E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A60E2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A60E2#FFFFFF#000000##000000
##8A60E21.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#127BE6
Deuteranopia (green-blind)
#2777DF
Tritanopia (blue-blind)
#747C98
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a60e2;
/* rgb */ color: rgb(138, 96, 226);
/* oklch */ color: oklch(59.7% 0.190 294.9);
Tailwind
colors: {
  custom: {
    50: '#b18fec',
    500: '#8a60e2',
    950: '#000000',
  },
}
SCSS
$custom: #8a60e2;
$custom-light: #b18fec;
$custom-dark: #000000;
JSON
{
  "hex": "#8a60e2",
  "rgb": {
    "r": 138,
    "g": 96,
    "b": 226
  },
  "hsl": {
    "h": 259.385,
    "s": 69.149,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59666,
    "c": 0.18954,
    "h": 294.9
  },
  "luminance": 0.1926
}

Semantic roles & 50–950 ramp

primary
#8A60E2
secondary
#D7E6B8
accent
#D11494
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8A60E2

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

Preview Lab → · Contrast checker → · Palette generator →

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