#8E62F7#8E62F7

#8E62F7 is a mid, highly saturated violet. Relative luminance 0.212; OKLCH L 61.8% C 0.212 H 292.7°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8E62F7
RGBrgb(142, 98, 247)
HSLhsl(258, 90%, 68%)
HSVhsv(258, 60%, 97%)
CMYKcmyk(42.5%, 60.3%, 0%, 3.1%)
CIE-LABlab(53.17, 50.80, -68.70)
CIE-LCHlch(53.17, 85.44, 306.48°)
OKLaboklab(61.79% 0.082 -0.196)
OKLCHoklch(61.79% 0.212 292.7)
XYZxyz(32.3069, 21.2006, 90.3676)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E62F7 #CBF762
analogous
#6281F7 #8E62F7 #D862F7
triadic
#8E62F7 #F78E62 #62F78E
tetradic
#8E62F7 #F76281 #CBF762 #62F7D8
square
#8E62F7 #F76281 #CBF762 #62F7D8
split-complementary
#8E62F7 #F7D862 #81F762
monochromatic
#460BD4 #6428F4 #8E62F7 #B89CFA #E2D6FD

Accessibility & contrast

On white

4.01
#8E62F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#8E62F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E62F7
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E62F7#FFFFFF#000000##000000
##8E62F71.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FC
Deuteranopia (green-blind)
#007CF4
Tritanopia (blue-blind)
#7184A3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8e62f7;
/* rgb */ color: rgb(142, 98, 247);
/* oklch */ color: oklch(61.8% 0.212 292.7);
Tailwind
colors: {
  custom: {
    50: '#b690fb',
    500: '#8e62f7',
    950: '#000000',
  },
}
SCSS
$custom: #8e62f7;
$custom-light: #b690fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8e62f7",
  "rgb": {
    "r": 142,
    "g": 98,
    "b": 247
  },
  "hsl": {
    "h": 257.718,
    "s": 90.303,
    "l": 67.647
  },
  "oklch": {
    "l": 0.61789,
    "c": 0.21246,
    "h": 292.7
  },
  "luminance": 0.21202
}

Semantic roles & 50–950 ramp

primary
#8E62F7
secondary
#E4F2C3
accent
#E600A2
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #8E62F7

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

Preview Lab → · Contrast checker → · Palette generator →

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