#8A62E5#8A62E5

#8A62E5 is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.2% C 0.190 H 294.0°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8A62E5
RGBrgb(138, 98, 229)
HSLhsl(258, 72%, 64%)
HSVhsv(258, 57%, 90%)
CMYKcmyk(39.7%, 57.2%, 0%, 10.2%)
CIE-LABlab(51.60, 45.16, -61.17)
CIE-LCHlch(51.60, 76.03, 306.44°)
OKLaboklab(60.18% 0.0775 -0.174)
OKLCHoklch(60.18% 0.19 294)
XYZxyz(28.9880, 19.7951, 76.4071)
Luminance0.1980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A62E5 #BDE562
analogous
#627CE5 #8A62E5 #CC62E5
triadic
#8A62E5 #E58A62 #62E58A
tetradic
#8A62E5 #E5627C #BDE562 #62E5CC
square
#8A62E5 #E5627C #BDE562 #62E5CC
split-complementary
#8A62E5 #E5CC62 #7CE562
monochromatic
#4A1DB0 #632DDC #8A62E5 #B197EE #D8CBF6

Accessibility & contrast

On white

4.23
#8A62E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#8A62E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A62E5
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A62E5#FFFFFF#000000##000000
##8A62E51.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#137CE9
Deuteranopia (green-blind)
#2779E2
Tritanopia (blue-blind)
#727E9A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a62e5;
/* rgb */ color: rgb(138, 98, 229);
/* oklch */ color: oklch(60.2% 0.190 294.0);
Tailwind
colors: {
  custom: {
    50: '#b190ee',
    500: '#8a62e5',
    950: '#000000',
  },
}
SCSS
$custom: #8a62e5;
$custom-light: #b190ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8a62e5",
  "rgb": {
    "r": 138,
    "g": 98,
    "b": 229
  },
  "hsl": {
    "h": 258.321,
    "s": 71.585,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60179,
    "c": 0.19044,
    "h": 294
  },
  "luminance": 0.19796
}

Semantic roles & 50–950 ramp

primary
#8A62E5
secondary
#DAE8BB
accent
#D41298
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110D16
muted
#807D84

Preview Lab

Preview with #8A62E5

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

Preview Lab → · Contrast checker → · Palette generator →

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