#9E62DF#9E62DF

#9E62DF is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.8% C 0.186 H 303.6°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#9E62DF
RGBrgb(158, 98, 223)
HSLhsl(269, 66%, 63%)
HSVhsv(269, 56%, 87%)
CMYKcmyk(29.1%, 56.1%, 0%, 12.5%)
CIE-LABlab(53.31, 48.30, -54.93)
CIE-LCHlch(53.31, 73.15, 311.32°)
OKLaboklab(61.79% 0.1029 -0.1551)
OKLCHoklch(61.79% 0.186 303.6)
XYZxyz(31.7845, 21.3322, 72.2408)
Luminance0.2133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E62DF #A3DF62
analogous
#6264DF #9E62DF #DD62DF
triadic
#9E62DF #DF9E62 #62DF9E
tetradic
#9E62DF #DF6264 #A3DF62 #62DFDD
square
#9E62DF #DF6264 #A3DF62 #62DFDD
split-complementary
#9E62DF #DFDD62 #64DF62
monochromatic
#6122A5 #7F2FD5 #9E62DF #BD95E9 #DDC8F4

Accessibility & contrast

On white

3.99
#9E62DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#9E62DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E62DF
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E62DF#FFFFFF#000000##000000
##9E62DF1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#307EE3
Deuteranopia (green-blind)
#477FDC
Tritanopia (blue-blind)
#927A97
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9e62df;
/* rgb */ color: rgb(158, 98, 223);
/* oklch */ color: oklch(61.8% 0.186 303.6);
Tailwind
colors: {
  custom: {
    50: '#be91ea',
    500: '#9e62df',
    950: '#000000',
  },
}
SCSS
$custom: #9e62df;
$custom-light: #be91ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9e62df",
  "rgb": {
    "r": 158,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 268.8,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61792,
    "c": 0.18611,
    "h": 303.6
  },
  "luminance": 0.21332
}

Semantic roles & 50–950 ramp

primary
#9E62DF
secondary
#CFE5B8
accent
#CE1776
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9E62DF

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

Preview Lab → · Contrast checker → · Palette generator →

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