#8D62E7#8D62E7

#8D62E7 is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.6% C 0.193 H 294.9°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8D62E7
RGBrgb(141, 98, 231)
HSLhsl(259, 73%, 65%)
HSVhsv(259, 58%, 91%)
CMYKcmyk(39%, 57.6%, 0%, 9.4%)
CIE-LABlab(52.03, 46.36, -61.60)
CIE-LCHlch(52.03, 77.09, 306.96°)
OKLaboklab(60.6% 0.0813 -0.1752)
OKLCHoklch(60.6% 0.193 294.9)
XYZxyz(29.7722, 20.1670, 77.9098)
Luminance0.2017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D62E7 #BCE762
analogous
#627AE7 #8D62E7 #CF62E7
triadic
#8D62E7 #E78D62 #62E78D
tetradic
#8D62E7 #E7627A #BCE762 #62E7CF
square
#8D62E7 #E7627A #BCE762 #62E7CF
split-complementary
#8D62E7 #E7CF62 #7AE762
monochromatic
#4C1BB3 #662DDF #8D62E7 #B497EF #DACCF7

Accessibility & contrast

On white

4.17
#8D62E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#8D62E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D62E7
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D62E7#FFFFFF#000000##000000
##8D62E71.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#117DEB
Deuteranopia (green-blind)
#287AE4
Tritanopia (blue-blind)
#767F9B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8d62e7;
/* rgb */ color: rgb(141, 98, 231);
/* oklch */ color: oklch(60.6% 0.193 294.9);
Tailwind
colors: {
  custom: {
    50: '#b390ef',
    500: '#8d62e7',
    950: '#000000',
  },
}
SCSS
$custom: #8d62e7;
$custom-light: #b390ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8d62e7",
  "rgb": {
    "r": 141,
    "g": 98,
    "b": 231
  },
  "hsl": {
    "h": 259.398,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60598,
    "c": 0.19309,
    "h": 294.9
  },
  "luminance": 0.20168
}

Semantic roles & 50–950 ramp

primary
#8D62E7
secondary
#DBE9BB
accent
#D61096
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110D17
muted
#807D85

Preview Lab

Preview with #8D62E7

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

Preview Lab → · Contrast checker → · Palette generator →

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