#8A62EF#8A62EF

#8A62EF is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 60.9% C 0.203 H 292.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8A62EF
RGBrgb(138, 98, 239)
HSLhsl(257, 82%, 66%)
HSVhsv(257, 59%, 94%)
CMYKcmyk(42.3%, 59%, 0%, 6.3%)
CIE-LABlab(52.25, 47.84, -65.73)
CIE-LCHlch(52.25, 81.30, 306.05°)
OKLaboklab(60.86% 0.0772 -0.1874)
OKLCHoklch(60.86% 0.203 292.4)
XYZxyz(30.4246, 20.3697, 83.9734)
Luminance0.2037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A62EF #C7EF62
analogous
#6280EF #8A62EF #D062EF
triadic
#8A62EF #EF8A62 #62EF8A
tetradic
#8A62EF #EF6280 #C7EF62 #62EFD0
square
#8A62EF #EF6280 #C7EF62 #62EFD0
split-complementary
#8A62EF #EFD062 #80EF62
monochromatic
#4514C3 #612AE9 #8A62EF #B39AF5 #DDD1FA

Accessibility & contrast

On white

4.14
#8A62EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#8A62EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A62EF
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A62EF#FFFFFF#000000##000000
##8A62EF1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF4
Deuteranopia (green-blind)
#067AEC
Tritanopia (blue-blind)
#6E819F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a62ef;
/* rgb */ color: rgb(138, 98, 239);
/* oklch */ color: oklch(60.9% 0.203 292.4);
Tailwind
colors: {
  custom: {
    50: '#b290f5',
    500: '#8a62ef',
    950: '#000000',
  },
}
SCSS
$custom: #8a62ef;
$custom-light: #b290f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a62ef",
  "rgb": {
    "r": 138,
    "g": 98,
    "b": 239
  },
  "hsl": {
    "h": 257.021,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.60861,
    "c": 0.20269,
    "h": 292.4
  },
  "luminance": 0.20371
}

Semantic roles & 50–950 ramp

primary
#8A62EF
secondary
#E0EEBF
accent
#DE08A1
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110D17
muted
#807D85

Preview Lab

Preview with #8A62EF

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

Preview Lab → · Contrast checker → · Palette generator →

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