#9C62DD#9C62DD

#9C62DD is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.5% C 0.183 H 303.2°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#9C62DD
RGBrgb(156, 98, 221)
HSLhsl(268, 64%, 63%)
HSVhsv(268, 56%, 87%)
CMYKcmyk(29.4%, 55.7%, 0%, 13.3%)
CIE-LABlab(52.98, 47.33, -54.35)
CIE-LCHlch(52.98, 72.07, 311.05°)
OKLaboklab(61.46% 0.1003 -0.1534)
OKLCHoklch(61.46% 0.183 303.2)
XYZxyz(31.1262, 21.0238, 70.8108)
Luminance0.2102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C62DD #A3DD62
analogous
#6265DD #9C62DD #DA62DD
triadic
#9C62DD #DD9C62 #62DD9C
tetradic
#9C62DD #DD6265 #A3DD62 #62DDDA
square
#9C62DD #DD6265 #A3DD62 #62DDDA
split-complementary
#9C62DD #DDDA62 #65DD62
monochromatic
#5F23A2 #7C30D2 #9C62DD #BC94E8 #DBC7F3

Accessibility & contrast

On white

4.03
#9C62DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#9C62DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C62DD
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C62DD#FFFFFF#000000##000000
##9C62DD1.004.035.205.20
#FFFFFF4.031.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#317DE1
Deuteranopia (green-blind)
#477EDA
Tritanopia (blue-blind)
#907A96
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9c62dd;
/* rgb */ color: rgb(156, 98, 221);
/* oklch */ color: oklch(61.5% 0.183 303.2);
Tailwind
colors: {
  custom: {
    50: '#bd91e8',
    500: '#9c62dd',
    950: '#000000',
  },
}
SCSS
$custom: #9c62dd;
$custom-light: #bd91e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9c62dd",
  "rgb": {
    "r": 156,
    "g": 98,
    "b": 221
  },
  "hsl": {
    "h": 268.293,
    "s": 64.398,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61458,
    "c": 0.18332,
    "h": 303.2
  },
  "luminance": 0.21024
}

Semantic roles & 50–950 ramp

primary
#9C62DD
secondary
#CFE4B7
accent
#CC1978
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9C62DD

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

Preview Lab → · Contrast checker → · Palette generator →

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