#8A5CE0#8A5CE0

#8A5CE0 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.9% C 0.193 H 296.0°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#8A5CE0
RGBrgb(138, 92, 224)
HSLhsl(261, 68%, 62%)
HSVhsv(261, 59%, 88%)
CMYKcmyk(38.4%, 58.9%, 0%, 12.2%)
CIE-LABlab(50.02, 47.15, -60.89)
CIE-LCHlch(50.02, 77.01, 307.75°)
OKLaboklab(58.92% 0.0845 -0.1732)
OKLCHoklch(58.92% 0.193 296)
XYZxyz(27.7594, 18.4389, 72.6031)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5CE0 #B2E05C
analogous
#5C70E0 #8A5CE0 #CC5CE0
triadic
#8A5CE0 #E08A5C #5CE08A
tetradic
#8A5CE0 #E05C70 #B2E05C #5CE0CC
square
#8A5CE0 #E05C70 #B2E05C #5CE0CC
split-complementary
#8A5CE0 #E0CC5C #70E05C
monochromatic
#4D1FA3 #6529D6 #8A5CE0 #AF8FEA #D4C3F4

Accessibility & contrast

On white

4.48
#8A5CE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#8A5CE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A5CE0
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5CE0#FFFFFF#000000##000000
##8A5CE01.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E4
Deuteranopia (green-blind)
#2175DD
Tritanopia (blue-blind)
#757995
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a5ce0;
/* rgb */ color: rgb(138, 92, 224);
/* oklch */ color: oklch(58.9% 0.193 296.0);
Tailwind
colors: {
  custom: {
    50: '#b18cea',
    500: '#8a5ce0',
    950: '#000000',
  },
}
SCSS
$custom: #8a5ce0;
$custom-light: #b18cea;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5ce0",
  "rgb": {
    "r": 138,
    "g": 92,
    "b": 224
  },
  "hsl": {
    "h": 260.909,
    "s": 68.041,
    "l": 61.961
  },
  "oklch": {
    "l": 0.58918,
    "c": 0.19269,
    "h": 296
  },
  "luminance": 0.18439
}

Semantic roles & 50–950 ramp

primary
#8A5CE0
secondary
#D3E4B4
accent
#D0168F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8A5CE0

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

Preview Lab → · Contrast checker → · Palette generator →

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