#8A62AD#8A62AD

#8A62AD is a mid, moderate violet. Relative luminance 0.172; OKLCH L 56.8% C 0.120 H 307.6°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8A62AD
RGBrgb(138, 98, 173)
HSLhsl(272, 31%, 53%)
HSVhsv(272, 43%, 68%)
CMYKcmyk(20.2%, 43.4%, 0%, 32.2%)
CIE-LABlab(48.46, 30.97, -34.06)
CIE-LCHlch(48.46, 46.04, 312.28°)
OKLaboklab(56.82% 0.0729 -0.0947)
OKLCHoklch(56.82% 0.12 307.6)
XYZxyz(22.3903, 17.1560, 41.6590)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A62AD #85AD62
analogous
#6462AD #8A62AD #AD62AA
triadic
#8A62AD #AD8A62 #62AD8A
tetradic
#8A62AD #AD6462 #85AD62 #62AAAD
square
#8A62AD #AD6462 #85AD62 #62AAAD
split-complementary
#8A62AD #AAAD62 #62AD64
monochromatic
#4C3362 #6B488A #8A62AD #A88AC2 #C6B2D7

Accessibility & contrast

On white

4.74
#8A62AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#8A62AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A62AD
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A62AD#FFFFFF#000000##FFFFFF
##8A62AD1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5171B0
Deuteranopia (green-blind)
#5A74AB
Tritanopia (blue-blind)
#856E7F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8a62ad;
/* rgb */ color: rgb(138, 98, 173);
/* oklch */ color: oklch(56.8% 0.120 307.6);
Tailwind
colors: {
  custom: {
    50: '#ad8fc6',
    500: '#8a62ad',
    950: '#000000',
  },
}
SCSS
$custom: #8a62ad;
$custom-light: #ad8fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a62ad",
  "rgb": {
    "r": 138,
    "g": 98,
    "b": 173
  },
  "hsl": {
    "h": 272,
    "s": 31.381,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56822,
    "c": 0.11956,
    "h": 307.6
  },
  "luminance": 0.17156
}

Semantic roles & 50–950 ramp

primary
#8A62AD
secondary
#B4C6A5
accent
#C86090
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #8A62AD

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

Preview Lab → · Contrast checker → · Palette generator →

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