#8A62AE#8A62AE

#8A62AE is a mid, vivid violet. Relative luminance 0.172; OKLCH L 56.9% C 0.121 H 307.2°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#8A62AE
RGBrgb(138, 98, 174)
HSLhsl(272, 32%, 53%)
HSVhsv(272, 44%, 68%)
CMYKcmyk(20.7%, 43.7%, 0%, 31.8%)
CIE-LABlab(48.50, 31.21, -34.57)
CIE-LCHlch(48.50, 46.57, 312.07°)
OKLaboklab(56.88% 0.0731 -0.0962)
OKLCHoklch(56.88% 0.121 307.2)
XYZxyz(22.4874, 17.1948, 42.1705)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A62AE #86AE62
analogous
#6462AE #8A62AE #AE62AC
triadic
#8A62AE #AE8A62 #62AE8A
tetradic
#8A62AE #AE6462 #86AE62 #62ACAE
square
#8A62AE #AE6462 #86AE62 #62ACAE
split-complementary
#8A62AE #ACAE62 #62AE64
monochromatic
#4C3363 #6B488B #8A62AE #A88AC3 #C6B3D8

Accessibility & contrast

On white

4.73
#8A62AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#8A62AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A62AE
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A62AE#FFFFFF#000000##FFFFFF
##8A62AE1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5072B1
Deuteranopia (green-blind)
#5A74AC
Tritanopia (blue-blind)
#856E80
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8a62ae;
/* rgb */ color: rgb(138, 98, 174);
/* oklch */ color: oklch(56.9% 0.121 307.2);
Tailwind
colors: {
  custom: {
    50: '#ae8fc6',
    500: '#8a62ae',
    950: '#000000',
  },
}
SCSS
$custom: #8a62ae;
$custom-light: #ae8fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a62ae",
  "rgb": {
    "r": 138,
    "g": 98,
    "b": 174
  },
  "hsl": {
    "h": 271.579,
    "s": 31.933,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56875,
    "c": 0.12083,
    "h": 307.2
  },
  "luminance": 0.17195
}

Semantic roles & 50–950 ramp

primary
#8A62AE
secondary
#B5C6A6
accent
#C86091
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #8A62AE

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

Preview Lab → · Contrast checker → · Palette generator →

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