#8E62E2#8E62E2

#8E62E2 is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.4% C 0.187 H 296.2°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8E62E2
RGBrgb(142, 98, 226)
HSLhsl(261, 69%, 64%)
HSVhsv(261, 57%, 89%)
CMYKcmyk(37.2%, 56.6%, 0%, 11.4%)
CIE-LABlab(51.81, 45.27, -59.13)
CIE-LCHlch(51.81, 74.47, 307.44°)
OKLaboklab(60.36% 0.0826 -0.1678)
OKLCHoklch(60.36% 0.187 296.2)
XYZxyz(29.2470, 19.9766, 74.2517)
Luminance0.1998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E62E2 #B6E262
analogous
#6276E2 #8E62E2 #CE62E2
triadic
#8E62E2 #E28E62 #62E28E
tetradic
#8E62E2 #E26276 #B6E262 #62E2CE
square
#8E62E2 #E26276 #B6E262 #62E2CE
split-complementary
#8E62E2 #E2CE62 #76E262
monochromatic
#4F1FAA #692ED8 #8E62E2 #B396EC #D8C9F5

Accessibility & contrast

On white

4.20
#8E62E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#8E62E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E62E2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E62E2#FFFFFF#000000##000000
##8E62E21.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F7CE6
Deuteranopia (green-blind)
#317ADF
Tritanopia (blue-blind)
#7A7D99
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8e62e2;
/* rgb */ color: rgb(142, 98, 226);
/* oklch */ color: oklch(60.4% 0.187 296.2);
Tailwind
colors: {
  custom: {
    50: '#b490ec',
    500: '#8e62e2',
    950: '#000000',
  },
}
SCSS
$custom: #8e62e2;
$custom-light: #b490ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8e62e2",
  "rgb": {
    "r": 142,
    "g": 98,
    "b": 226
  },
  "hsl": {
    "h": 260.625,
    "s": 68.817,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60363,
    "c": 0.18706,
    "h": 296.2
  },
  "luminance": 0.19977
}

Semantic roles & 50–950 ramp

primary
#8E62E2
secondary
#D7E7B9
accent
#D11590
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110D16
muted
#807D84

Preview Lab

Preview with #8E62E2

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

Preview Lab → · Contrast checker → · Palette generator →

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