#9D62AF#9D62AF

#9D62AF is a mid, vivid purple. Relative luminance 0.190; OKLCH L 59.0% C 0.130 H 318.0°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#9D62AF
RGBrgb(157, 98, 175)
HSLhsl(286, 32%, 54%)
HSVhsv(286, 44%, 69%)
CMYKcmyk(10.3%, 44%, 0%, 31.4%)
CIE-LABlab(50.69, 37.17, -31.58)
CIE-LCHlch(50.69, 48.78, 319.65°)
OKLaboklab(59.01% 0.0968 -0.0872)
OKLCHoklch(59.01% 0.13 318)
XYZxyz(26.0091, 18.9994, 42.8463)
Luminance0.1900 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D62AF #74AF62
analogous
#7662AF #9D62AF #AF629A
triadic
#9D62AF #AF9D62 #62AF9D
tetradic
#9D62AF #AF7662 #74AF62 #629AAF
square
#9D62AF #AF7662 #74AF62 #629AAF
split-complementary
#9D62AF #9AAF62 #62AF76
monochromatic
#583364 #7C478C #9D62AF #B68BC4 #D0B3D8

Accessibility & contrast

On white

4.38
#9D62AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#9D62AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D62AF
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D62AF#FFFFFF#000000##000000
##9D62AF1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5675B2
Deuteranopia (green-blind)
#657BAD
Tritanopia (blue-blind)
#9D6C80
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9d62af;
/* rgb */ color: rgb(157, 98, 175);
/* oklch */ color: oklch(59.0% 0.130 318.0);
Tailwind
colors: {
  custom: {
    50: '#bb90c7',
    500: '#9d62af',
    950: '#000000',
  },
}
SCSS
$custom: #9d62af;
$custom-light: #bb90c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d62af",
  "rgb": {
    "r": 157,
    "g": 98,
    "b": 175
  },
  "hsl": {
    "h": 285.974,
    "s": 32.489,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59006,
    "c": 0.13026,
    "h": 318
  },
  "luminance": 0.18999
}

Semantic roles & 50–950 ramp

primary
#9D62AF
secondary
#AEC7A6
accent
#C95F78
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#120D13
muted
#817D82

Preview Lab

Preview with #9D62AF

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

Preview Lab → · Contrast checker → · Palette generator →

#9D62AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva