#8E58F2#8E58F2

#8E58F2 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.0% C 0.220 H 295.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8E58F2
RGBrgb(142, 88, 242)
HSLhsl(261, 86%, 65%)
HSVhsv(261, 64%, 95%)
CMYKcmyk(41.3%, 63.6%, 0%, 5.1%)
CIE-LABlab(50.85, 54.79, -69.66)
CIE-LCHlch(50.85, 88.63, 308.19°)
OKLaboklab(60% 0.093 -0.1988)
OKLCHoklch(60% 0.22 295.1)
XYZxyz(30.6678, 19.1403, 86.0658)
Luminance0.1914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E58F2 #BCF258
analogous
#586FF2 #8E58F2 #DB58F2
triadic
#8E58F2 #F28E58 #58F28E
tetradic
#8E58F2 #F2586F #BCF258 #58F2DB
square
#8E58F2 #F2586F #BCF258 #58F2DB
split-complementary
#8E58F2 #F2DB58 #6FF258
monochromatic
#4D0FC1 #681FEE #8E58F2 #B491F6 #DBCAFB

Accessibility & contrast

On white

4.35
#8E58F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#8E58F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E58F2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E58F2#FFFFFF#000000##000000
##8E58F21.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF7
Deuteranopia (green-blind)
#0077EF
Tritanopia (blue-blind)
#747C9D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8e58f2;
/* rgb */ color: rgb(142, 88, 242);
/* oklch */ color: oklch(60.0% 0.220 295.1);
Tailwind
colors: {
  custom: {
    50: '#b68af7',
    500: '#8e58f2',
    950: '#000000',
  },
}
SCSS
$custom: #8e58f2;
$custom-light: #b68af7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e58f2",
  "rgb": {
    "r": 142,
    "g": 88,
    "b": 242
  },
  "hsl": {
    "h": 261.039,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.59999,
    "c": 0.2195,
    "h": 295.1
  },
  "luminance": 0.19141
}

Semantic roles & 50–950 ramp

primary
#8E58F2
secondary
#DBEDB8
accent
#E20394
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E58F2

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

Preview Lab → · Contrast checker → · Palette generator →

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