#8A62E0#8A62E0

#8A62E0 is a mid, vivid violet. Relative luminance 0.195; OKLCH L 59.8% C 0.184 H 294.9°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#8A62E0
RGBrgb(138, 98, 224)
HSLhsl(259, 67%, 63%)
HSVhsv(259, 56%, 88%)
CMYKcmyk(38.4%, 56.3%, 0%, 12.2%)
CIE-LABlab(51.29, 43.83, -58.85)
CIE-LCHlch(51.29, 73.38, 306.68°)
OKLaboklab(59.85% 0.0775 -0.1672)
OKLCHoklch(59.85% 0.184 294.9)
XYZxyz(28.2999, 19.5199, 72.7832)
Luminance0.1952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A62E0 #B8E062
analogous
#6279E0 #8A62E0 #C962E0
triadic
#8A62E0 #E08A62 #62E08A
tetradic
#8A62E0 #E06279 #B8E062 #62E0C9
square
#8A62E0 #E06279 #B8E062 #62E0C9
split-complementary
#8A62E0 #E0C962 #79E062
monochromatic
#4B21A7 #642FD6 #8A62E0 #B095EA #D6C8F4

Accessibility & contrast

On white

4.28
#8A62E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#8A62E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A62E0
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A62E0#FFFFFF#000000##000000
##8A62E01.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#207BE4
Deuteranopia (green-blind)
#2F78DD
Tritanopia (blue-blind)
#757D98
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a62e0;
/* rgb */ color: rgb(138, 98, 224);
/* oklch */ color: oklch(59.8% 0.184 294.9);
Tailwind
colors: {
  custom: {
    50: '#b190ea',
    500: '#8a62e0',
    950: '#000000',
  },
}
SCSS
$custom: #8a62e0;
$custom-light: #b190ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8a62e0",
  "rgb": {
    "r": 138,
    "g": 98,
    "b": 224
  },
  "hsl": {
    "h": 259.048,
    "s": 67.021,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59847,
    "c": 0.18425,
    "h": 294.9
  },
  "luminance": 0.1952
}

Semantic roles & 50–950 ramp

primary
#8A62E0
secondary
#D7E5B8
accent
#CF1794
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8A62E0

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

Preview Lab → · Contrast checker → · Palette generator →

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