#8A60F2#8A60F2

#8A60F2 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 60.8% C 0.209 H 292.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8A60F2
RGBrgb(138, 96, 242)
HSLhsl(257, 85%, 66%)
HSVhsv(257, 60%, 95%)
CMYKcmyk(43%, 60.3%, 0%, 5.1%)
CIE-LABlab(52.04, 49.74, -67.76)
CIE-LCHlch(52.04, 84.05, 306.28°)
OKLaboklab(60.77% 0.0793 -0.1933)
OKLCHoklch(60.77% 0.209 292.3)
XYZxyz(30.6867, 20.1789, 86.2653)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A60F2 #C8F260
analogous
#607FF2 #8A60F2 #D360F2
triadic
#8A60F2 #F28A60 #60F28A
tetradic
#8A60F2 #F2607F #C8F260 #60F2D3
square
#8A60F2 #F2607F #C8F260 #60F2D3
split-complementary
#8A60F2 #F2D360 #7FF260
monochromatic
#4510C7 #6027ED #8A60F2 #B499F7 #DDD1FB

Accessibility & contrast

On white

4.17
#8A60F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#8A60F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A60F2
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A60F2#FFFFFF#000000##000000
##8A60F21.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF7
Deuteranopia (green-blind)
#0079EF
Tritanopia (blue-blind)
#6C81A0
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a60f2;
/* rgb */ color: rgb(138, 96, 242);
/* oklch */ color: oklch(60.8% 0.209 292.3);
Tailwind
colors: {
  custom: {
    50: '#b38ff7',
    500: '#8a60f2',
    950: '#000000',
  },
}
SCSS
$custom: #8a60f2;
$custom-light: #b38ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a60f2",
  "rgb": {
    "r": 138,
    "g": 96,
    "b": 242
  },
  "hsl": {
    "h": 257.26,
    "s": 84.884,
    "l": 66.275
  },
  "oklch": {
    "l": 0.60768,
    "c": 0.20897,
    "h": 292.3
  },
  "luminance": 0.2018
}

Semantic roles & 50–950 ramp

primary
#8A60F2
secondary
#E1EFBF
accent
#E104A2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8A60F2

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

Preview Lab → · Contrast checker → · Palette generator →

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