#9D62CC#9D62CC

#9D62CC is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.6% C 0.164 H 307.9°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9D62CC
RGBrgb(157, 98, 204)
HSLhsl(273, 51%, 59%)
HSVhsv(273, 52%, 80%)
CMYKcmyk(23%, 52%, 0%, 20%)
CIE-LABlab(52.13, 43.58, -46.03)
CIE-LCHlch(52.13, 63.39, 313.43°)
OKLaboklab(60.56% 0.1007 -0.1291)
OKLCHoklch(60.56% 0.164 307.9)
XYZxyz(29.1692, 20.2635, 59.4896)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D62CC #91CC62
analogous
#6862CC #9D62CC #CC62C6
triadic
#9D62CC #CC9D62 #62CC9D
tetradic
#9D62CC #CC6862 #91CC62 #62C6CC
square
#9D62CC #CC6862 #91CC62 #62C6CC
split-complementary
#9D62CC #C6CC62 #62CC68
monochromatic
#5F2C88 #7F3BB6 #9D62CC #BA90DB #D7BEEA

Accessibility & contrast

On white

4.16
#9D62CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#9D62CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D62CC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D62CC#FFFFFF#000000##000000
##9D62CC1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#437AD0
Deuteranopia (green-blind)
#557DC9
Tritanopia (blue-blind)
#96758E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9d62cc;
/* rgb */ color: rgb(157, 98, 204);
/* oklch */ color: oklch(60.6% 0.164 307.9);
Tailwind
colors: {
  custom: {
    50: '#bc90dc',
    500: '#9d62cc',
    950: '#000000',
  },
}
SCSS
$custom: #9d62cc;
$custom-light: #bc90dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d62cc",
  "rgb": {
    "r": 157,
    "g": 98,
    "b": 204
  },
  "hsl": {
    "h": 273.396,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60555,
    "c": 0.16367,
    "h": 307.9
  },
  "luminance": 0.20263
}

Semantic roles & 50–950 ramp

primary
#9D62CC
secondary
#C3DAB0
accent
#DA4D8C
background
#FBF9FD
surface
#F7F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9D62CC

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

Preview Lab → · Contrast checker → · Palette generator →

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