#9D62ED#9D62ED

#9D62ED is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 62.6% C 0.202 H 300.2°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#9D62ED
RGBrgb(157, 98, 237)
HSLhsl(265, 79%, 66%)
HSVhsv(265, 59%, 93%)
CMYKcmyk(33.8%, 58.6%, 0%, 7.1%)
CIE-LABlab(54.05, 51.46, -61.63)
CIE-LCHlch(54.05, 80.29, 309.86°)
OKLaboklab(62.58% 0.1016 -0.1747)
OKLCHoklch(62.58% 0.202 300.2)
XYZxyz(33.5547, 22.0176, 82.5864)
Luminance0.2202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D62ED #B2ED62
analogous
#626CED #9D62ED #E362ED
triadic
#9D62ED #ED9D62 #62ED9D
tetradic
#9D62ED #ED626C #B2ED62 #62EDE3
square
#9D62ED #ED626C #B2ED62 #62EDE3
split-complementary
#9D62ED #EDE362 #6CED62
monochromatic
#5E16BF #7B2BE7 #9D62ED #BF99F3 #E2D0FA

Accessibility & contrast

On white

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

On black

5.40
#9D62ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D62ED
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D62ED#FFFFFF#000000##000000
##9D62ED1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1381F1
Deuteranopia (green-blind)
#3580EA
Tritanopia (blue-blind)
#8C7F9E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9d62ed;
/* rgb */ color: rgb(157, 98, 237);
/* oklch */ color: oklch(62.6% 0.202 300.2);
Tailwind
colors: {
  custom: {
    50: '#be91f4',
    500: '#9d62ed',
    950: '#000000',
  },
}
SCSS
$custom: #9d62ed;
$custom-light: #be91f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d62ed",
  "rgb": {
    "r": 157,
    "g": 98,
    "b": 237
  },
  "hsl": {
    "h": 265.468,
    "s": 79.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.62576,
    "c": 0.20215,
    "h": 300.2
  },
  "luminance": 0.22018
}

Semantic roles & 50–950 ramp

primary
#9D62ED
secondary
#D9EDBE
accent
#DC0A83
background
#FCF9FF
surface
#F8F1FE
border
#D1CBD6
text
#130D17
muted
#827E85

Preview Lab

Preview with #9D62ED

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

Preview Lab → · Contrast checker → · Palette generator →

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