#9F62EC#9F62EC

#9F62EC is a light, highly saturated violet. Relative luminance 0.222; OKLCH L 62.7% C 0.201 H 301.2°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#9F62EC
RGBrgb(159, 98, 236)
HSLhsl(267, 78%, 65%)
HSVhsv(267, 58%, 93%)
CMYKcmyk(32.6%, 58.5%, 0%, 7.5%)
CIE-LABlab(54.20, 51.67, -60.81)
CIE-LCHlch(54.20, 79.80, 310.35°)
OKLaboklab(62.72% 0.1042 -0.1723)
OKLCHoklch(62.72% 0.201 301.2)
XYZxyz(33.8025, 22.1623, 81.8375)
Luminance0.2216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F62EC #AFEC62
analogous
#626AEC #9F62EC #E462EC
triadic
#9F62EC #EC9F62 #62EC9F
tetradic
#9F62EC #EC626A #AFEC62 #62ECE4
square
#9F62EC #EC626A #AFEC62 #62ECE4
split-complementary
#9F62EC #ECE462 #6AEC62
monochromatic
#6017BD #7E2BE5 #9F62EC #C099F3 #E2CFF9

Accessibility & contrast

On white

3.87
#9F62EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#9F62EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F62EC
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F62EC#FFFFFF#000000##000000
##9F62EC1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1981F0
Deuteranopia (green-blind)
#3981E9
Tritanopia (blue-blind)
#8F7E9E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9f62ec;
/* rgb */ color: rgb(159, 98, 236);
/* oklch */ color: oklch(62.7% 0.201 301.2);
Tailwind
colors: {
  custom: {
    50: '#c091f3',
    500: '#9f62ec',
    950: '#000000',
  },
}
SCSS
$custom: #9f62ec;
$custom-light: #c091f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f62ec",
  "rgb": {
    "r": 159,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 266.522,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.62717,
    "c": 0.20135,
    "h": 301.2
  },
  "luminance": 0.22162
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F62EC

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

Preview Lab → · Contrast checker → · Palette generator →

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