#8A62CC#8A62CC

#8A62CC is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.6% C 0.159 H 298.8°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8A62CC
RGBrgb(138, 98, 204)
HSLhsl(263, 51%, 59%)
HSVhsv(263, 52%, 80%)
CMYKcmyk(32.4%, 52%, 0%, 20%)
CIE-LABlab(50.09, 38.62, -49.40)
CIE-LCHlch(50.09, 62.70, 308.02°)
OKLaboklab(58.58% 0.0767 -0.1394)
OKLCHoklch(58.58% 0.159 298.8)
XYZxyz(25.7454, 18.4980, 59.3291)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A62CC #A4CC62
analogous
#626FCC #8A62CC #BF62CC
triadic
#8A62CC #CC8A62 #62CC8A
tetradic
#8A62CC #CC626F #A4CC62 #62CCBF
square
#8A62CC #CC626F #A4CC62 #62CCBF
split-complementary
#8A62CC #CCBF62 #6FCC62
monochromatic
#4F2C88 #693BB6 #8A62CC #AC90DB #CFBEEA

Accessibility & contrast

On white

4.47
#8A62CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#8A62CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A62CC
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A62CC#FFFFFF#000000##000000
##8A62CC1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B77D0
Deuteranopia (green-blind)
#4676C9
Tritanopia (blue-blind)
#7C778E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a62cc;
/* rgb */ color: rgb(138, 98, 204);
/* oklch */ color: oklch(58.6% 0.159 298.8);
Tailwind
colors: {
  custom: {
    50: '#af90dc',
    500: '#8a62cc',
    950: '#000000',
  },
}
SCSS
$custom: #8a62cc;
$custom-light: #af90dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a62cc",
  "rgb": {
    "r": 138,
    "g": 98,
    "b": 204
  },
  "hsl": {
    "h": 262.642,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58579,
    "c": 0.15914,
    "h": 298.8
  },
  "luminance": 0.18498
}

Semantic roles & 50–950 ramp

primary
#8A62CC
secondary
#CADAB0
accent
#DA4DA5
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8A62CC

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

Preview Lab → · Contrast checker → · Palette generator →

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