#8A62ED#8A62ED

#8A62ED is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 60.7% C 0.200 H 292.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8A62ED
RGBrgb(138, 98, 237)
HSLhsl(257, 79%, 66%)
HSVhsv(257, 59%, 93%)
CMYKcmyk(41.8%, 58.6%, 0%, 7.1%)
CIE-LABlab(52.12, 47.30, -64.83)
CIE-LCHlch(52.12, 80.25, 306.12°)
OKLaboklab(60.72% 0.0773 -0.1847)
OKLCHoklch(60.72% 0.2 292.7)
XYZxyz(30.1308, 20.2522, 82.4259)
Luminance0.2025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A62ED #C5ED62
analogous
#627FED #8A62ED #CF62ED
triadic
#8A62ED #ED8A62 #62ED8A
tetradic
#8A62ED #ED627F #C5ED62 #62EDCF
square
#8A62ED #ED627F #C5ED62 #62EDCF
split-complementary
#8A62ED #EDCF62 #7FED62
monochromatic
#4616BF #612BE7 #8A62ED #B399F3 #DCD0FA

Accessibility & contrast

On white

4.16
#8A62ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#8A62ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A62ED
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A62ED#FFFFFF#000000##000000
##8A62ED1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF2
Deuteranopia (green-blind)
#117AEA
Tritanopia (blue-blind)
#6F819E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a62ed;
/* rgb */ color: rgb(138, 98, 237);
/* oklch */ color: oklch(60.7% 0.200 292.7);
Tailwind
colors: {
  custom: {
    50: '#b290f4',
    500: '#8a62ed',
    950: '#000000',
  },
}
SCSS
$custom: #8a62ed;
$custom-light: #b290f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a62ed",
  "rgb": {
    "r": 138,
    "g": 98,
    "b": 237
  },
  "hsl": {
    "h": 257.266,
    "s": 79.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.60723,
    "c": 0.20025,
    "h": 292.7
  },
  "luminance": 0.20253
}

Semantic roles & 50–950 ramp

primary
#8A62ED
secondary
#DFEDBE
accent
#DC0A9F
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110D17
muted
#807D85

Preview Lab

Preview with #8A62ED

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

Preview Lab → · Contrast checker → · Palette generator →

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