#8E58E2#8E58E2

#8E58E2 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 58.9% C 0.201 H 298.0°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8E58E2
RGBrgb(142, 88, 226)
HSLhsl(263, 70%, 62%)
HSVhsv(263, 61%, 89%)
CMYKcmyk(37.2%, 61.1%, 0%, 11.4%)
CIE-LABlab(49.76, 50.69, -62.42)
CIE-LCHlch(49.76, 80.41, 309.08°)
OKLaboklab(58.87% 0.0942 -0.1775)
OKLCHoklch(58.87% 0.201 298)
XYZxyz(28.3691, 18.2208, 73.9591)
Luminance0.1822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E58E2 #ACE258
analogous
#5867E2 #8E58E2 #D358E2
triadic
#8E58E2 #E28E58 #58E28E
tetradic
#8E58E2 #E25867 #ACE258 #58E2D3
square
#8E58E2 #E25867 #ACE258 #58E2D3
split-complementary
#8E58E2 #E2D358 #67E258
monochromatic
#511CA3 #6B25D7 #8E58E2 #B18CEB #D5C0F4

Accessibility & contrast

On white

4.52
#8E58E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#8E58E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E58E2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E58E2#FFFFFF#000000##000000
##8E58E21.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E6
Deuteranopia (green-blind)
#1975DF
Tritanopia (blue-blind)
#7A7695
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8e58e2;
/* rgb */ color: rgb(142, 88, 226);
/* oklch */ color: oklch(58.9% 0.201 298.0);
Tailwind
colors: {
  custom: {
    50: '#b48aec',
    500: '#8e58e2',
    950: '#000000',
  },
}
SCSS
$custom: #8e58e2;
$custom-light: #b48aec;
$custom-dark: #000000;
JSON
{
  "hex": "#8e58e2",
  "rgb": {
    "r": 142,
    "g": 88,
    "b": 226
  },
  "hsl": {
    "h": 263.478,
    "s": 70.408,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58865,
    "c": 0.201,
    "h": 298
  },
  "luminance": 0.18221
}

Semantic roles & 50–950 ramp

primary
#8E58E2
secondary
#D0E5B1
accent
#D21388
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8E58E2

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

Preview Lab → · Contrast checker → · Palette generator →

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