#8A62E7#8A62E7

#8A62E7 is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.3% C 0.193 H 293.7°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8A62E7
RGBrgb(138, 98, 231)
HSLhsl(258, 73%, 65%)
HSVhsv(258, 58%, 91%)
CMYKcmyk(40.3%, 57.6%, 0%, 9.4%)
CIE-LABlab(51.73, 45.69, -62.09)
CIE-LCHlch(51.73, 77.09, 306.35°)
OKLaboklab(60.31% 0.0774 -0.1767)
OKLCHoklch(60.31% 0.193 293.7)
XYZxyz(29.2689, 19.9074, 77.8862)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A62E7 #BFE762
analogous
#627DE7 #8A62E7 #CD62E7
triadic
#8A62E7 #E78A62 #62E78A
tetradic
#8A62E7 #E7627D #BFE762 #62E7CD
square
#8A62E7 #E7627D #BFE762 #62E7CD
split-complementary
#8A62E7 #E7CD62 #7DE762
monochromatic
#491BB3 #622DDF #8A62E7 #B297EF #D9CCF7

Accessibility & contrast

On white

4.22
#8A62E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#8A62E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A62E7
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A62E7#FFFFFF#000000##000000
##8A62E71.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C7DEB
Deuteranopia (green-blind)
#2279E4
Tritanopia (blue-blind)
#727F9B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a62e7;
/* rgb */ color: rgb(138, 98, 231);
/* oklch */ color: oklch(60.3% 0.193 293.7);
Tailwind
colors: {
  custom: {
    50: '#b290ef',
    500: '#8a62e7',
    950: '#000000',
  },
}
SCSS
$custom: #8a62e7;
$custom-light: #b290ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8a62e7",
  "rgb": {
    "r": 138,
    "g": 98,
    "b": 231
  },
  "hsl": {
    "h": 258.045,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60314,
    "c": 0.1929,
    "h": 293.7
  },
  "luminance": 0.19908
}

Semantic roles & 50–950 ramp

primary
#8A62E7
secondary
#DCE9BB
accent
#D6109A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110D17
muted
#807D85

Preview Lab

Preview with #8A62E7

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

Preview Lab → · Contrast checker → · Palette generator →

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