#8962AE#8962AE

#8962AE is a mid, vivid violet. Relative luminance 0.171; OKLCH L 56.8% C 0.121 H 306.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8962AE
RGBrgb(137, 98, 174)
HSLhsl(271, 32%, 53%)
HSVhsv(271, 44%, 68%)
CMYKcmyk(21.3%, 43.7%, 0%, 31.8%)
CIE-LABlab(48.40, 30.91, -34.74)
CIE-LCHlch(48.40, 46.50, 311.66°)
OKLaboklab(56.77% 0.0718 -0.0967)
OKLCHoklch(56.77% 0.121 306.6)
XYZxyz(22.3227, 17.1099, 42.1628)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8962AE #87AE62
analogous
#6362AE #8962AE #AE62AD
triadic
#8962AE #AE8962 #62AE89
tetradic
#8962AE #AE6362 #87AE62 #62ADAE
square
#8962AE #AE6362 #87AE62 #62ADAE
split-complementary
#8962AE #ADAE62 #62AE63
monochromatic
#4B3363 #6A488B #8962AE #A78AC3 #C6B3D8

Accessibility & contrast

On white

4.75
#8962AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#8962AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8962AE
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8962AE#FFFFFF#000000##FFFFFF
##8962AE1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5071B1
Deuteranopia (green-blind)
#5973AC
Tritanopia (blue-blind)
#846E80
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8962ae;
/* rgb */ color: rgb(137, 98, 174);
/* oklch */ color: oklch(56.8% 0.121 306.6);
Tailwind
colors: {
  custom: {
    50: '#ad8fc6',
    500: '#8962ae',
    950: '#000000',
  },
}
SCSS
$custom: #8962ae;
$custom-light: #ad8fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#8962ae",
  "rgb": {
    "r": 137,
    "g": 98,
    "b": 174
  },
  "hsl": {
    "h": 270.789,
    "s": 31.933,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5677,
    "c": 0.12051,
    "h": 306.6
  },
  "luminance": 0.1711
}

Semantic roles & 50–950 ramp

primary
#8962AE
secondary
#B5C6A6
accent
#C86093
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #8962AE

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

Preview Lab → · Contrast checker → · Palette generator →

#8962AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva