#8A62EE#8A62EE

#8A62EE is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 60.8% C 0.201 H 292.5°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8A62EE
RGBrgb(138, 98, 238)
HSLhsl(257, 80%, 66%)
HSVhsv(257, 59%, 93%)
CMYKcmyk(42%, 58.8%, 0%, 6.7%)
CIE-LABlab(52.19, 47.57, -65.28)
CIE-LCHlch(52.19, 80.77, 306.08°)
OKLaboklab(60.79% 0.0773 -0.1861)
OKLCHoklch(60.79% 0.201 292.5)
XYZxyz(30.2773, 20.3108, 83.1975)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A62EE #C6EE62
analogous
#6280EE #8A62EE #D062EE
triadic
#8A62EE #EE8A62 #62EE8A
tetradic
#8A62EE #EE6280 #C6EE62 #62EED0
square
#8A62EE #EE6280 #C6EE62 #62EED0
split-complementary
#8A62EE #EED062 #80EE62
monochromatic
#4615C1 #612BE8 #8A62EE #B399F4 #DCD0FA

Accessibility & contrast

On white

4.15
#8A62EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#8A62EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A62EE
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A62EE#FFFFFF#000000##000000
##8A62EE1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF3
Deuteranopia (green-blind)
#0C7AEB
Tritanopia (blue-blind)
#6E819F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a62ee;
/* rgb */ color: rgb(138, 98, 238);
/* oklch */ color: oklch(60.8% 0.201 292.5);
Tailwind
colors: {
  custom: {
    50: '#b290f4',
    500: '#8a62ee',
    950: '#000000',
  },
}
SCSS
$custom: #8a62ee;
$custom-light: #b290f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a62ee",
  "rgb": {
    "r": 138,
    "g": 98,
    "b": 238
  },
  "hsl": {
    "h": 257.143,
    "s": 80.46,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60792,
    "c": 0.20147,
    "h": 292.5
  },
  "luminance": 0.20312
}

Semantic roles & 50–950 ramp

primary
#8A62EE
secondary
#E0EDBF
accent
#DD09A0
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110D17
muted
#807D85

Preview Lab

Preview with #8A62EE

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

Preview Lab → · Contrast checker → · Palette generator →

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