#9E62CD#9E62CD

#9E62CD is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.7% C 0.165 H 308.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9E62CD
RGBrgb(158, 98, 205)
HSLhsl(274, 52%, 59%)
HSVhsv(274, 52%, 80%)
CMYKcmyk(22.9%, 52.2%, 0%, 19.6%)
CIE-LABlab(52.30, 44.08, -46.33)
CIE-LCHlch(52.30, 63.95, 313.57°)
OKLaboklab(60.72% 0.102 -0.1299)
OKLCHoklch(60.72% 0.165 308.1)
XYZxyz(29.4855, 20.4126, 60.1325)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E62CD #91CD62
analogous
#6962CD #9E62CD #CD62C7
triadic
#9E62CD #CD9E62 #62CD9E
tetradic
#9E62CD #CD6962 #91CD62 #62C7CD
square
#9E62CD #CD6962 #91CD62 #62C7CD
split-complementary
#9E62CD #C7CD62 #62CD69
monochromatic
#602C89 #803AB7 #9E62CD #BB90DC #D7BFEB

Accessibility & contrast

On white

4.13
#9E62CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#9E62CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E62CD
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E62CD#FFFFFF#000000##000000
##9E62CD1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#437AD1
Deuteranopia (green-blind)
#557DCA
Tritanopia (blue-blind)
#97758E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9e62cd;
/* rgb */ color: rgb(158, 98, 205);
/* oklch */ color: oklch(60.7% 0.165 308.1);
Tailwind
colors: {
  custom: {
    50: '#bd90dd',
    500: '#9e62cd',
    950: '#000000',
  },
}
SCSS
$custom: #9e62cd;
$custom-light: #bd90dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e62cd",
  "rgb": {
    "r": 158,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 273.645,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60721,
    "c": 0.16516,
    "h": 308.1
  },
  "luminance": 0.20412
}

Semantic roles & 50–950 ramp

primary
#9E62CD
secondary
#C3DAB1
accent
#DB4D8B
background
#FBF9FD
surface
#F7F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9E62CD

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

Preview Lab → · Contrast checker → · Palette generator →

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