#8E58E7#8E58E7

#8E58E7 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.2% C 0.207 H 297.0°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8E58E7
RGBrgb(142, 88, 231)
HSLhsl(263, 75%, 63%)
HSVhsv(263, 62%, 91%)
CMYKcmyk(38.5%, 61.9%, 0%, 9.4%)
CIE-LABlab(50.10, 51.96, -64.71)
CIE-LCHlch(50.10, 82.99, 308.77°)
OKLaboklab(59.21% 0.0939 -0.1843)
OKLCHoklch(59.21% 0.207 297)
XYZxyz(29.0652, 18.4993, 77.6252)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E58E7 #B1E758
analogous
#586AE7 #8E58E7 #D558E7
triadic
#8E58E7 #E78E58 #58E78E
tetradic
#8E58E7 #E7586A #B1E758 #58E7D5
square
#8E58E7 #E7586A #B1E758 #58E7D5
split-complementary
#8E58E7 #E7D558 #6AE758
monochromatic
#5019AC #6A22DF #8E58E7 #B28EEF #D6C3F6

Accessibility & contrast

On white

4.47
#8E58E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#8E58E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E58E7
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E58E7#FFFFFF#000000##000000
##8E58E71.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EC
Deuteranopia (green-blind)
#0475E4
Tritanopia (blue-blind)
#787897
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8e58e7;
/* rgb */ color: rgb(142, 88, 231);
/* oklch */ color: oklch(59.2% 0.207 297.0);
Tailwind
colors: {
  custom: {
    50: '#b58aef',
    500: '#8e58e7',
    950: '#000000',
  },
}
SCSS
$custom: #8e58e7;
$custom-light: #b58aef;
$custom-dark: #000000;
JSON
{
  "hex": "#8e58e7",
  "rgb": {
    "r": 142,
    "g": 88,
    "b": 231
  },
  "hsl": {
    "h": 262.657,
    "s": 74.869,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59213,
    "c": 0.20682,
    "h": 297
  },
  "luminance": 0.185
}

Semantic roles & 50–950 ramp

primary
#8E58E7
secondary
#D4E7B3
accent
#D70E8B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E58E7

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

Preview Lab → · Contrast checker → · Palette generator →

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