#8A62CA#8A62CA

#8A62CA is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.5% C 0.157 H 299.3°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8A62CA
RGBrgb(138, 98, 202)
HSLhsl(263, 50%, 59%)
HSVhsv(263, 51%, 79%)
CMYKcmyk(31.7%, 51.5%, 0%, 20.8%)
CIE-LABlab(49.98, 38.11, -48.43)
CIE-LCHlch(49.98, 61.63, 308.20°)
OKLaboklab(58.46% 0.0766 -0.1366)
OKLCHoklch(58.46% 0.157 299.3)
XYZxyz(25.5070, 18.4027, 58.0739)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A62CA #A2CA62
analogous
#626ECA #8A62CA #BE62CA
triadic
#8A62CA #CA8A62 #62CA8A
tetradic
#8A62CA #CA626E #A2CA62 #62CABE
square
#8A62CA #CA626E #A2CA62 #62CABE
split-complementary
#8A62CA #CABE62 #6ECA62
monochromatic
#4F2D85 #6A3CB3 #8A62CA #AC90D9 #CEBEE9

Accessibility & contrast

On white

4.49
#8A62CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#8A62CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A62CA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A62CA#FFFFFF#000000##000000
##8A62CA1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D77CE
Deuteranopia (green-blind)
#4776C8
Tritanopia (blue-blind)
#7D768D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a62ca;
/* rgb */ color: rgb(138, 98, 202);
/* oklch */ color: oklch(58.5% 0.157 299.3);
Tailwind
colors: {
  custom: {
    50: '#af90db',
    500: '#8a62ca',
    950: '#000000',
  },
}
SCSS
$custom: #8a62ca;
$custom-light: #af90db;
$custom-dark: #000000;
JSON
{
  "hex": "#8a62ca",
  "rgb": {
    "r": 138,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 263.077,
    "s": 49.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58458,
    "c": 0.15661,
    "h": 299.3
  },
  "luminance": 0.18403
}

Semantic roles & 50–950 ramp

primary
#8A62CA
secondary
#C9D8AF
accent
#D94FA4
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8A62CA

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

Preview Lab → · Contrast checker → · Palette generator →

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