#9D62EC#9D62EC

#9D62EC is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 62.5% C 0.201 H 300.4°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#9D62EC
RGBrgb(157, 98, 236)
HSLhsl(266, 78%, 65%)
HSVhsv(266, 58%, 93%)
CMYKcmyk(33.5%, 58.5%, 0%, 7.5%)
CIE-LABlab(53.98, 51.21, -61.17)
CIE-LCHlch(53.98, 79.78, 309.94°)
OKLaboklab(62.51% 0.1017 -0.1734)
OKLCHoklch(62.51% 0.201 300.4)
XYZxyz(33.4090, 21.9594, 81.8191)
Luminance0.2196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D62EC #B1EC62
analogous
#626CEC #9D62EC #E262EC
triadic
#9D62EC #EC9D62 #62EC9D
tetradic
#9D62EC #EC626C #B1EC62 #62ECE2
square
#9D62EC #EC626C #B1EC62 #62ECE2
split-complementary
#9D62EC #ECE262 #6CEC62
monochromatic
#5E17BD #7B2BE5 #9D62EC #BF99F3 #E1CFF9

Accessibility & contrast

On white

3.89
#9D62EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#9D62EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D62EC
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D62EC#FFFFFF#000000##000000
##9D62EC1.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1681F0
Deuteranopia (green-blind)
#3780E9
Tritanopia (blue-blind)
#8C7F9E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9d62ec;
/* rgb */ color: rgb(157, 98, 236);
/* oklch */ color: oklch(62.5% 0.201 300.4);
Tailwind
colors: {
  custom: {
    50: '#be91f3',
    500: '#9d62ec',
    950: '#000000',
  },
}
SCSS
$custom: #9d62ec;
$custom-light: #be91f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d62ec",
  "rgb": {
    "r": 157,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 265.652,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.62511,
    "c": 0.201,
    "h": 300.4
  },
  "luminance": 0.2196
}

Semantic roles & 50–950 ramp

primary
#9D62EC
secondary
#D8ECBE
accent
#DB0B82
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #9D62EC

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

Preview Lab → · Contrast checker → · Palette generator →

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