#8A5EEF#8A5EEF

#8A5EEF is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.3% C 0.208 H 293.1°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8A5EEF
RGBrgb(138, 94, 239)
HSLhsl(258, 82%, 65%)
HSVhsv(258, 61%, 94%)
CMYKcmyk(42.3%, 60.7%, 0%, 6.3%)
CIE-LABlab(51.43, 50.02, -67.07)
CIE-LCHlch(51.43, 83.67, 306.72°)
OKLaboklab(60.26% 0.0816 -0.1913)
OKLCHoklch(60.26% 0.208 293.1)
XYZxyz(30.0597, 19.6398, 83.8517)
Luminance0.1964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5EEF #C3EF5E
analogous
#5E7AEF #8A5EEF #D35EEF
triadic
#8A5EEF #EF8A5E #5EEF8A
tetradic
#8A5EEF #EF5E7A #C3EF5E #5EEFD3
square
#8A5EEF #EF5E7A #C3EF5E #5EEFD3
split-complementary
#8A5EEF #EFD35E #7AEF5E
monochromatic
#4713C0 #6226E9 #8A5EEF #B296F5 #DBCDFA

Accessibility & contrast

On white

4.26
#8A5EEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#8A5EEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A5EEF
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5EEF#FFFFFF#000000##000000
##8A5EEF1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF4
Deuteranopia (green-blind)
#0078EC
Tritanopia (blue-blind)
#6E7F9E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a5eef;
/* rgb */ color: rgb(138, 94, 239);
/* oklch */ color: oklch(60.3% 0.208 293.1);
Tailwind
colors: {
  custom: {
    50: '#b38df5',
    500: '#8a5eef',
    950: '#000000',
  },
}
SCSS
$custom: #8a5eef;
$custom-light: #b38df5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5eef",
  "rgb": {
    "r": 138,
    "g": 94,
    "b": 239
  },
  "hsl": {
    "h": 258.207,
    "s": 81.921,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60258,
    "c": 0.20801,
    "h": 293.1
  },
  "luminance": 0.19641
}

Semantic roles & 50–950 ramp

primary
#8A5EEF
secondary
#DEEDBC
accent
#DE079D
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8A5EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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