#9C62E4#9C62E4

#9C62E4 is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.9% C 0.192 H 301.6°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#9C62E4
RGBrgb(156, 98, 228)
HSLhsl(267, 71%, 64%)
HSVhsv(267, 57%, 89%)
CMYKcmyk(31.6%, 57%, 0%, 10.6%)
CIE-LABlab(53.39, 49.03, -57.64)
CIE-LCHlch(53.39, 75.67, 310.38°)
OKLaboklab(61.9% 0.1004 -0.1631)
OKLCHoklch(61.9% 0.192 301.6)
XYZxyz(32.0783, 21.4046, 75.8253)
Luminance0.2140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C62E4 #AAE462
analogous
#6269E4 #9C62E4 #DD62E4
triadic
#9C62E4 #E49C62 #62E49C
tetradic
#9C62E4 #E46269 #AAE462 #62E4DD
square
#9C62E4 #E46269 #AAE462 #62E4DD
split-complementary
#9C62E4 #E4DD62 #69E462
monochromatic
#5E1EAE #7B2EDB #9C62E4 #BD96ED #DECAF6

Accessibility & contrast

On white

3.98
#9C62E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#9C62E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C62E4
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C62E4#FFFFFF#000000##000000
##9C62E41.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#277FE8
Deuteranopia (green-blind)
#3F7FE1
Tritanopia (blue-blind)
#8E7C9A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9c62e4;
/* rgb */ color: rgb(156, 98, 228);
/* oklch */ color: oklch(61.9% 0.192 301.6);
Tailwind
colors: {
  custom: {
    50: '#bd91ed',
    500: '#9c62e4',
    950: '#000000',
  },
}
SCSS
$custom: #9c62e4;
$custom-light: #bd91ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9c62e4",
  "rgb": {
    "r": 156,
    "g": 98,
    "b": 228
  },
  "hsl": {
    "h": 266.769,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.61895,
    "c": 0.19151,
    "h": 301.6
  },
  "luminance": 0.21405
}

Semantic roles & 50–950 ramp

primary
#9C62E4
secondary
#D3E8BA
accent
#D3137D
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9C62E4

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

Preview Lab → · Contrast checker → · Palette generator →

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