#9C62CD#9C62CD

#9C62CD is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.5% C 0.165 H 307.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#9C62CD
RGBrgb(156, 98, 205)
HSLhsl(273, 52%, 59%)
HSVhsv(273, 52%, 80%)
CMYKcmyk(23.9%, 52.2%, 0%, 19.6%)
CIE-LABlab(52.08, 43.55, -46.70)
CIE-LCHlch(52.08, 63.85, 313.00°)
OKLaboklab(60.5% 0.0995 -0.131)
OKLCHoklch(60.5% 0.165 307.2)
XYZxyz(29.0952, 20.2114, 60.1142)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C62CD #93CD62
analogous
#6762CD #9C62CD #CD62C9
triadic
#9C62CD #CD9C62 #62CD9C
tetradic
#9C62CD #CD6762 #93CD62 #62C9CD
square
#9C62CD #CD6762 #93CD62 #62C9CD
split-complementary
#9C62CD #C9CD62 #62CD67
monochromatic
#5E2C89 #7E3AB7 #9C62CD #B990DC #D7BFEB

Accessibility & contrast

On white

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

On black

5.04
#9C62CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C62CD
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C62CD#FFFFFF#000000##000000
##9C62CD1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c62cd;
/* rgb */ color: rgb(156, 98, 205);
/* oklch */ color: oklch(60.5% 0.165 307.2);
Tailwind
colors: {
  custom: {
    50: '#bc90dd',
    500: '#9c62cd',
    950: '#000000',
  },
}
SCSS
$custom: #9c62cd;
$custom-light: #bc90dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9c62cd",
  "rgb": {
    "r": 156,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 272.523,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60504,
    "c": 0.16453,
    "h": 307.2
  },
  "luminance": 0.20211
}

Semantic roles & 50–950 ramp

primary
#9C62CD
secondary
#C4DAB1
accent
#DB4D8E
background
#FBF9FD
surface
#F7F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9C62CD

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

Preview Lab → · Contrast checker → · Palette generator →

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