#9D62CD#9D62CD

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

Color values

HEX#9D62CD
RGBrgb(157, 98, 205)
HSLhsl(273, 52%, 59%)
HSVhsv(273, 52%, 80%)
CMYKcmyk(23.4%, 52.2%, 0%, 19.6%)
CIE-LABlab(52.19, 43.81, -46.52)
CIE-LCHlch(52.19, 63.90, 313.28°)
OKLaboklab(60.61% 0.1007 -0.1305)
OKLCHoklch(60.61% 0.165 307.7)
XYZxyz(29.2895, 20.3116, 60.1233)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D62CD #92CD62
analogous
#6862CD #9D62CD #CD62C8
triadic
#9D62CD #CD9D62 #62CD9D
tetradic
#9D62CD #CD6862 #92CD62 #62C8CD
square
#9D62CD #CD6862 #92CD62 #62C8CD
split-complementary
#9D62CD #C8CD62 #62CD68
monochromatic
#5F2C89 #7F3AB7 #9D62CD #BA90DC #D7BFEB

Accessibility & contrast

On white

4.15
#9D62CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#9D62CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D62CD
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D62CD#FFFFFF#000000##000000
##9D62CD1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#427AD1
Deuteranopia (green-blind)
#557DCA
Tritanopia (blue-blind)
#96758E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9d62cd;
/* rgb */ color: rgb(157, 98, 205);
/* oklch */ color: oklch(60.6% 0.165 307.7);
Tailwind
colors: {
  custom: {
    50: '#bc90dd',
    500: '#9d62cd',
    950: '#000000',
  },
}
SCSS
$custom: #9d62cd;
$custom-light: #bc90dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d62cd",
  "rgb": {
    "r": 157,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 273.084,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60612,
    "c": 0.16484,
    "h": 307.7
  },
  "luminance": 0.20311
}

Semantic roles & 50–950 ramp

primary
#9D62CD
secondary
#C3DAB1
accent
#DB4D8D
background
#FBF9FD
surface
#F7F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9D62CD

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

Preview Lab → · Contrast checker → · Palette generator →

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