#8A60E1#8A60E1

#8A60E1 is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.6% C 0.188 H 295.1°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8A60E1
RGBrgb(138, 96, 225)
HSLhsl(260, 68%, 63%)
HSVhsv(260, 57%, 88%)
CMYKcmyk(38.7%, 57.3%, 0%, 11.8%)
CIE-LABlab(50.93, 45.21, -60.01)
CIE-LCHlch(50.93, 75.13, 307.00°)
OKLaboklab(59.6% 0.0798 -0.1706)
OKLCHoklch(59.6% 0.188 295.1)
XYZxyz(28.2512, 19.2047, 73.4380)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A60E1 #B7E160
analogous
#6076E1 #8A60E1 #CB60E1
triadic
#8A60E1 #E18A60 #60E18A
tetradic
#8A60E1 #E16076 #B7E160 #60E1CB
square
#8A60E1 #E16076 #B7E160 #60E1CB
split-complementary
#8A60E1 #E1CB60 #76E160
monochromatic
#4C20A7 #642DD7 #8A60E1 #B093EB #D6C7F4

Accessibility & contrast

On white

4.34
#8A60E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#8A60E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A60E1
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A60E1#FFFFFF#000000##000000
##8A60E11.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#157AE5
Deuteranopia (green-blind)
#2977DE
Tritanopia (blue-blind)
#747C97
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a60e1;
/* rgb */ color: rgb(138, 96, 225);
/* oklch */ color: oklch(59.6% 0.188 295.1);
Tailwind
colors: {
  custom: {
    50: '#b18feb',
    500: '#8a60e1',
    950: '#000000',
  },
}
SCSS
$custom: #8a60e1;
$custom-light: #b18feb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a60e1",
  "rgb": {
    "r": 138,
    "g": 96,
    "b": 225
  },
  "hsl": {
    "h": 259.535,
    "s": 68.254,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59599,
    "c": 0.18831,
    "h": 295.1
  },
  "luminance": 0.19205
}

Semantic roles & 50–950 ramp

primary
#8A60E1
secondary
#D6E6B7
accent
#D01593
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8A60E1

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

Preview Lab → · Contrast checker → · Palette generator →

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