#9D62DF#9D62DF

#9D62DF is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.7% C 0.186 H 303.1°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9D62DF
RGBrgb(157, 98, 223)
HSLhsl(268, 66%, 63%)
HSVhsv(268, 56%, 87%)
CMYKcmyk(29.6%, 56.1%, 0%, 12.5%)
CIE-LABlab(53.20, 48.06, -55.12)
CIE-LCHlch(53.20, 73.12, 311.09°)
OKLaboklab(61.69% 0.1016 -0.1556)
OKLCHoklch(61.69% 0.186 303.1)
XYZxyz(31.5886, 21.2312, 72.2316)
Luminance0.2123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D62DF #A4DF62
analogous
#6265DF #9D62DF #DC62DF
triadic
#9D62DF #DF9D62 #62DF9D
tetradic
#9D62DF #DF6265 #A4DF62 #62DFDC
square
#9D62DF #DF6265 #A4DF62 #62DFDC
split-complementary
#9D62DF #DFDC62 #65DF62
monochromatic
#6022A5 #7D2FD5 #9D62DF #BD95E9 #DCC8F4

Accessibility & contrast

On white

4.00
#9D62DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#9D62DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D62DF
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D62DF#FFFFFF#000000##000000
##9D62DF1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7EE3
Deuteranopia (green-blind)
#467FDC
Tritanopia (blue-blind)
#917A97
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9d62df;
/* rgb */ color: rgb(157, 98, 223);
/* oklch */ color: oklch(61.7% 0.186 303.1);
Tailwind
colors: {
  custom: {
    50: '#bd91ea',
    500: '#9d62df',
    950: '#000000',
  },
}
SCSS
$custom: #9d62df;
$custom-light: #bd91ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9d62df",
  "rgb": {
    "r": 157,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 268.32,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61687,
    "c": 0.18588,
    "h": 303.1
  },
  "luminance": 0.21231
}

Semantic roles & 50–950 ramp

primary
#9D62DF
secondary
#D0E5B8
accent
#CE1778
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9D62DF

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

Preview Lab → · Contrast checker → · Palette generator →

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