#8E62F2#8E62F2

#8E62F2 is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.4% C 0.206 H 293.5°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#8E62F2
RGBrgb(142, 98, 242)
HSLhsl(258, 85%, 67%)
HSVhsv(258, 60%, 95%)
CMYKcmyk(41.3%, 59.5%, 0%, 5.1%)
CIE-LABlab(52.84, 49.48, -66.45)
CIE-LCHlch(52.84, 82.85, 306.67°)
OKLaboklab(61.44% 0.0822 -0.1894)
OKLCHoklch(61.44% 0.206 293.5)
XYZxyz(31.5457, 20.8961, 86.3585)
Luminance0.2090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E62F2 #C6F262
analogous
#627EF2 #8E62F2 #D662F2
triadic
#8E62F2 #F28E62 #62F28E
tetradic
#8E62F2 #F2627E #C6F262 #62F2D6
square
#8E62F2 #F2627E #C6F262 #62F2D6
split-complementary
#8E62F2 #F2D662 #7EF262
monochromatic
#4911C9 #6529ED #8E62F2 #B79BF7 #DFD3FB

Accessibility & contrast

On white

4.05
#8E62F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#8E62F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E62F2
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E62F2#FFFFFF#000000##000000
##8E62F21.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F7
Deuteranopia (green-blind)
#077CEF
Tritanopia (blue-blind)
#7382A1
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8e62f2;
/* rgb */ color: rgb(142, 98, 242);
/* oklch */ color: oklch(61.4% 0.206 293.5);
Tailwind
colors: {
  custom: {
    50: '#b590f7',
    500: '#8e62f2',
    950: '#000000',
  },
}
SCSS
$custom: #8e62f2;
$custom-light: #b590f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e62f2",
  "rgb": {
    "r": 142,
    "g": 98,
    "b": 242
  },
  "hsl": {
    "h": 258.333,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.61441,
    "c": 0.20647,
    "h": 293.5
  },
  "luminance": 0.20897
}

Semantic roles & 50–950 ramp

primary
#8E62F2
secondary
#E1EFC1
accent
#E1049E
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #8E62F2

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

Preview Lab → · Contrast checker → · Palette generator →

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