#8E61EA#8E61EA

#8E61EA is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.7% C 0.198 H 295.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8E61EA
RGBrgb(142, 97, 234)
HSLhsl(260, 77%, 65%)
HSVhsv(260, 59%, 92%)
CMYKcmyk(39.3%, 58.5%, 0%, 8.2%)
CIE-LABlab(52.11, 47.91, -63.15)
CIE-LCHlch(52.11, 79.27, 307.19°)
OKLaboklab(60.74% 0.0836 -0.1797)
OKLCHoklch(60.74% 0.198 295)
XYZxyz(30.2774, 20.2400, 80.1374)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E61EA #BDEA61
analogous
#6179EA #8E61EA #D261EA
triadic
#8E61EA #EA8E61 #61EA8E
tetradic
#8E61EA #EA6179 #BDEA61 #61EAD2
square
#8E61EA #EA6179 #BDEA61 #61EAD2
split-complementary
#8E61EA #EAD261 #79EA61
monochromatic
#4D18B8 #672BE3 #8E61EA #B597F1 #DBCDF8

Accessibility & contrast

On white

4.16
#8E61EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#8E61EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E61EA
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E61EA#FFFFFF#000000##000000
##8E61EA1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEE
Deuteranopia (green-blind)
#207AE7
Tritanopia (blue-blind)
#777F9C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8e61ea;
/* rgb */ color: rgb(142, 97, 234);
/* oklch */ color: oklch(60.7% 0.198 295.0);
Tailwind
colors: {
  custom: {
    50: '#b490f1',
    500: '#8e61ea',
    950: '#000000',
  },
}
SCSS
$custom: #8e61ea;
$custom-light: #b490f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e61ea",
  "rgb": {
    "r": 142,
    "g": 97,
    "b": 234
  },
  "hsl": {
    "h": 259.708,
    "s": 76.536,
    "l": 64.902
  },
  "oklch": {
    "l": 0.60742,
    "c": 0.19819,
    "h": 295
  },
  "luminance": 0.20241
}

Semantic roles & 50–950 ramp

primary
#8E61EA
secondary
#DBEBBC
accent
#D90D96
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120D17
muted
#817D85

Preview Lab

Preview with #8E61EA

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

Preview Lab → · Contrast checker → · Palette generator →

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