#9F62DD#9F62DD

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

Color values

HEX#9F62DD
RGBrgb(159, 98, 221)
HSLhsl(270, 64%, 63%)
HSVhsv(270, 56%, 87%)
CMYKcmyk(28.1%, 55.7%, 0%, 13.3%)
CIE-LABlab(53.31, 48.07, -53.81)
CIE-LCHlch(53.31, 72.15, 311.77°)
OKLaboklab(61.78% 0.1041 -0.1517)
OKLCHoklch(61.78% 0.184 304.4)
XYZxyz(31.7140, 21.3269, 70.8383)
Luminance0.2133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F62DD #A0DD62
analogous
#6263DD #9F62DD #DC62DD
triadic
#9F62DD #DD9F62 #62DD9F
tetradic
#9F62DD #DD6263 #A0DD62 #62DDDC
square
#9F62DD #DD6263 #A0DD62 #62DDDC
split-complementary
#9F62DD #DDDC62 #63DD62
monochromatic
#6223A2 #8030D2 #9F62DD #BE94E8 #DDC7F3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F62DD#FFFFFF#000000##000000
##9F62DD1.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)
#337EE1
Deuteranopia (green-blind)
#4A7FDA
Tritanopia (blue-blind)
#947A96
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9f62dd;
/* rgb */ color: rgb(159, 98, 221);
/* oklch */ color: oklch(61.8% 0.184 304.4);
Tailwind
colors: {
  custom: {
    50: '#bf91e8',
    500: '#9f62dd',
    950: '#000000',
  },
}
SCSS
$custom: #9f62dd;
$custom-light: #bf91e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f62dd",
  "rgb": {
    "r": 159,
    "g": 98,
    "b": 221
  },
  "hsl": {
    "h": 269.756,
    "s": 64.398,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61775,
    "c": 0.18402,
    "h": 304.4
  },
  "luminance": 0.21327
}

Semantic roles & 50–950 ramp

primary
#9F62DD
secondary
#CEE4B7
accent
#CC1973
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9F62DD

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

Preview Lab → · Contrast checker → · Palette generator →

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