#8A62CD#8A62CD

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

Color values

HEX#8A62CD
RGBrgb(138, 98, 205)
HSLhsl(262, 52%, 59%)
HSVhsv(262, 52%, 80%)
CMYKcmyk(32.7%, 52.2%, 0%, 19.6%)
CIE-LABlab(50.15, 38.88, -49.88)
CIE-LCHlch(50.15, 63.24, 307.93°)
OKLaboklab(58.64% 0.0768 -0.1408)
OKLCHoklch(58.64% 0.16 298.6)
XYZxyz(25.8657, 18.5462, 59.9628)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A62CD #A5CD62
analogous
#6270CD #8A62CD #C062CD
triadic
#8A62CD #CD8A62 #62CD8A
tetradic
#8A62CD #CD6270 #A5CD62 #62CDC0
square
#8A62CD #CD6270 #A5CD62 #62CDC0
split-complementary
#8A62CD #CDC062 #70CD62
monochromatic
#4F2C89 #693AB7 #8A62CD #AD90DC #CFBFEB

Accessibility & contrast

On white

4.46
#8A62CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#8A62CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A62CD
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A62CD#FFFFFF#000000##000000
##8A62CD1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A77D1
Deuteranopia (green-blind)
#4576CA
Tritanopia (blue-blind)
#7C778E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a62cd;
/* rgb */ color: rgb(138, 98, 205);
/* oklch */ color: oklch(58.6% 0.160 298.6);
Tailwind
colors: {
  custom: {
    50: '#af90dd',
    500: '#8a62cd',
    950: '#000000',
  },
}
SCSS
$custom: #8a62cd;
$custom-light: #af90dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a62cd",
  "rgb": {
    "r": 138,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 262.43,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.5864,
    "c": 0.16041,
    "h": 298.6
  },
  "luminance": 0.18546
}

Semantic roles & 50–950 ramp

primary
#8A62CD
secondary
#CBDAB1
accent
#DB4DA6
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8A62CD

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

Preview Lab → · Contrast checker → · Palette generator →

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