#8A60F1#8A60F1

#8A60F1 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.7% C 0.208 H 292.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#8A60F1
RGBrgb(138, 96, 241)
HSLhsl(257, 84%, 66%)
HSVhsv(257, 60%, 95%)
CMYKcmyk(42.7%, 60.2%, 0%, 5.5%)
CIE-LABlab(51.97, 49.47, -67.31)
CIE-LCHlch(51.97, 83.53, 306.32°)
OKLaboklab(60.7% 0.0793 -0.192)
OKLCHoklch(60.7% 0.208 292.4)
XYZxyz(30.5369, 20.1190, 85.4764)
Luminance0.2012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A60F1 #C7F160
analogous
#607EF1 #8A60F1 #D260F1
triadic
#8A60F1 #F18A60 #60F18A
tetradic
#8A60F1 #F1607E #C7F160 #60F1D2
square
#8A60F1 #F1607E #C7F160 #60F1D2
split-complementary
#8A60F1 #F1D260 #7EF160
monochromatic
#4511C5 #6128EC #8A60F1 #B398F6 #DDD0FB

Accessibility & contrast

On white

4.18
#8A60F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#8A60F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A60F1
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A60F1#FFFFFF#000000##000000
##8A60F11.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF6
Deuteranopia (green-blind)
#0079EE
Tritanopia (blue-blind)
#6D81A0
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a60f1;
/* rgb */ color: rgb(138, 96, 241);
/* oklch */ color: oklch(60.7% 0.208 292.4);
Tailwind
colors: {
  custom: {
    50: '#b38ff6',
    500: '#8a60f1',
    950: '#000000',
  },
}
SCSS
$custom: #8a60f1;
$custom-light: #b38ff6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a60f1",
  "rgb": {
    "r": 138,
    "g": 96,
    "b": 241
  },
  "hsl": {
    "h": 257.379,
    "s": 83.815,
    "l": 66.078
  },
  "oklch": {
    "l": 0.60698,
    "c": 0.20777,
    "h": 292.4
  },
  "luminance": 0.2012
}

Semantic roles & 50–950 ramp

primary
#8A60F1
secondary
#E0EEBF
accent
#E005A1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8A60F1

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

Preview Lab → · Contrast checker → · Palette generator →

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