#8E61FA#8E61FA

#8E61FA is a mid, highly saturated violet. Relative luminance 0.212; OKLCH L 61.9% C 0.217 H 292.4°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8E61FA
RGBrgb(142, 97, 250)
HSLhsl(258, 94%, 68%)
HSVhsv(258, 61%, 98%)
CMYKcmyk(43.2%, 61.2%, 0%, 2%)
CIE-LABlab(53.17, 52.14, -70.36)
CIE-LCHlch(53.17, 87.58, 306.54°)
OKLaboklab(61.85% 0.0829 -0.2009)
OKLCHoklch(61.85% 0.217 292.4)
XYZxyz(32.6806, 21.2013, 92.7943)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E61FA #CDFA61
analogous
#6180FA #8E61FA #DA61FA
triadic
#8E61FA #FA8E61 #61FA8E
tetradic
#8E61FA #FA6180 #CDFA61 #61FADA
square
#8E61FA #FA6180 #CDFA61 #61FADA
split-complementary
#8E61FA #FADA61 #80FA61
monochromatic
#4507DA #6426F8 #8E61FA #B89CFC #E3D8FE

Accessibility & contrast

On white

4.01
#8E61FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#8E61FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E61FA
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E61FA#FFFFFF#000000##000000
##8E61FA1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#007CF7
Tritanopia (blue-blind)
#6F84A5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8e61fa;
/* rgb */ color: rgb(142, 97, 250);
/* oklch */ color: oklch(61.9% 0.217 292.4);
Tailwind
colors: {
  custom: {
    50: '#b690fd',
    500: '#8e61fa',
    950: '#000000',
  },
}
SCSS
$custom: #8e61fa;
$custom-light: #b690fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e61fa",
  "rgb": {
    "r": 142,
    "g": 97,
    "b": 250
  },
  "hsl": {
    "h": 257.647,
    "s": 93.865,
    "l": 68.039
  },
  "oklch": {
    "l": 0.61854,
    "c": 0.21732,
    "h": 292.4
  },
  "luminance": 0.21202
}

Semantic roles & 50–950 ramp

primary
#8E61FA
secondary
#E5F3C4
accent
#E600A2
background
#FBF9FF
surface
#F7F1FF
border
#D0CBD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #8E61FA

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

Preview Lab → · Contrast checker → · Palette generator →

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