#8A62CB#8A62CB

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

Color values

HEX#8A62CB
RGBrgb(138, 98, 203)
HSLhsl(263, 50%, 59%)
HSVhsv(263, 52%, 80%)
CMYKcmyk(32%, 51.7%, 0%, 20.4%)
CIE-LABlab(50.04, 38.37, -48.92)
CIE-LCHlch(50.04, 62.17, 308.11°)
OKLaboklab(58.52% 0.0766 -0.138)
OKLCHoklch(58.52% 0.158 299)
XYZxyz(25.6258, 18.4502, 58.6995)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A62CB #A3CB62
analogous
#626FCB #8A62CB #BF62CB
triadic
#8A62CB #CB8A62 #62CB8A
tetradic
#8A62CB #CB626F #A3CB62 #62CBBF
square
#8A62CB #CB626F #A3CB62 #62CBBF
split-complementary
#8A62CB #CBBF62 #6FCB62
monochromatic
#4F2C86 #6A3CB4 #8A62CB #AC90DA #CFBEE9

Accessibility & contrast

On white

4.48
#8A62CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#8A62CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A62CB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A62CB#FFFFFF#000000##000000
##8A62CB1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C77CF
Deuteranopia (green-blind)
#4776C9
Tritanopia (blue-blind)
#7C768D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a62cb;
/* rgb */ color: rgb(138, 98, 203);
/* oklch */ color: oklch(58.5% 0.158 299.0);
Tailwind
colors: {
  custom: {
    50: '#af90db',
    500: '#8a62cb',
    950: '#000000',
  },
}
SCSS
$custom: #8a62cb;
$custom-light: #af90db;
$custom-dark: #000000;
JSON
{
  "hex": "#8a62cb",
  "rgb": {
    "r": 138,
    "g": 98,
    "b": 203
  },
  "hsl": {
    "h": 262.857,
    "s": 50.239,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58518,
    "c": 0.15787,
    "h": 299
  },
  "luminance": 0.1845
}

Semantic roles & 50–950 ramp

primary
#8A62CB
secondary
#C9D9B0
accent
#DA4EA5
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8A62CB

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

Preview Lab → · Contrast checker → · Palette generator →

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