#9D62EF#9D62EF

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

Color values

HEX#9D62EF
RGBrgb(157, 98, 239)
HSLhsl(265, 82%, 66%)
HSVhsv(265, 59%, 94%)
CMYKcmyk(34.3%, 59%, 0%, 6.3%)
CIE-LABlab(54.17, 51.95, -62.54)
CIE-LCHlch(54.17, 81.31, 309.71°)
OKLaboklab(62.71% 0.1016 -0.1774)
OKLCHoklch(62.71% 0.204 299.8)
XYZxyz(33.8485, 22.1352, 84.1338)
Luminance0.2213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D62EF #B4EF62
analogous
#626DEF #9D62EF #E362EF
triadic
#9D62EF #EF9D62 #62EF9D
tetradic
#9D62EF #EF626D #B4EF62 #62EFE3
square
#9D62EF #EF626D #B4EF62 #62EFE3
split-complementary
#9D62EF #EFE362 #6DEF62
monochromatic
#5D14C3 #7A2AE9 #9D62EF #C09AF5 #E2D1FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D62EF#FFFFFF#000000##000000
##9D62EF1.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)
#0A81F4
Deuteranopia (green-blind)
#3280EC
Tritanopia (blue-blind)
#8B809F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9d62ef;
/* rgb */ color: rgb(157, 98, 239);
/* oklch */ color: oklch(62.7% 0.204 299.8);
Tailwind
colors: {
  custom: {
    50: '#bf91f5',
    500: '#9d62ef',
    950: '#000000',
  },
}
SCSS
$custom: #9d62ef;
$custom-light: #bf91f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d62ef",
  "rgb": {
    "r": 157,
    "g": 98,
    "b": 239
  },
  "hsl": {
    "h": 265.106,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62707,
    "c": 0.20446,
    "h": 299.8
  },
  "luminance": 0.22135
}

Semantic roles & 50–950 ramp

primary
#9D62EF
secondary
#DAEEBF
accent
#DE0884
background
#FCF9FF
surface
#F8F1FE
border
#D1CBD6
text
#130D17
muted
#827E85

Preview Lab

Preview with #9D62EF

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

Preview Lab → · Contrast checker → · Palette generator →

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