#9C62DF#9C62DF

#9C62DF is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.6% C 0.186 H 302.7°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#9C62DF
RGBrgb(156, 98, 223)
HSLhsl(268, 66%, 63%)
HSVhsv(268, 56%, 87%)
CMYKcmyk(30%, 56.1%, 0%, 12.5%)
CIE-LABlab(53.09, 47.81, -55.30)
CIE-LCHlch(53.09, 73.10, 310.85°)
OKLaboklab(61.58% 0.1004 -0.1562)
OKLCHoklch(61.58% 0.186 302.7)
XYZxyz(31.3942, 21.1310, 72.2225)
Luminance0.2113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C62DF #A5DF62
analogous
#6266DF #9C62DF #DB62DF
triadic
#9C62DF #DF9C62 #62DF9C
tetradic
#9C62DF #DF6266 #A5DF62 #62DFDB
square
#9C62DF #DF6266 #A5DF62 #62DFDB
split-complementary
#9C62DF #DFDB62 #66DF62
monochromatic
#5F22A5 #7C2FD5 #9C62DF #BC95E9 #DCC8F4

Accessibility & contrast

On white

4.02
#9C62DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#9C62DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C62DF
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C62DF#FFFFFF#000000##000000
##9C62DF1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7EE3
Deuteranopia (green-blind)
#457EDC
Tritanopia (blue-blind)
#8F7B97
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9c62df;
/* rgb */ color: rgb(156, 98, 223);
/* oklch */ color: oklch(61.6% 0.186 302.7);
Tailwind
colors: {
  custom: {
    50: '#bd91ea',
    500: '#9c62df',
    950: '#000000',
  },
}
SCSS
$custom: #9c62df;
$custom-light: #bd91ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9c62df",
  "rgb": {
    "r": 156,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 267.84,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61582,
    "c": 0.18566,
    "h": 302.7
  },
  "luminance": 0.21131
}

Semantic roles & 50–950 ramp

primary
#9C62DF
secondary
#D0E5B8
accent
#CE1779
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9C62DF

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

Preview Lab → · Contrast checker → · Palette generator →

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