#9F62DB#9F62DB

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

Color values

HEX#9F62DB
RGBrgb(159, 98, 219)
HSLhsl(270, 63%, 62%)
HSVhsv(270, 55%, 86%)
CMYKcmyk(27.4%, 55.3%, 0%, 14.1%)
CIE-LABlab(53.19, 47.59, -52.86)
CIE-LCHlch(53.19, 71.13, 312.00°)
OKLaboklab(61.65% 0.104 -0.149)
OKLCHoklch(61.65% 0.182 304.9)
XYZxyz(31.4492, 21.2209, 69.4434)
Luminance0.2122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F62DB #9EDB62
analogous
#6362DB #9F62DB #DB62DA
triadic
#9F62DB #DB9F62 #62DB9F
tetradic
#9F62DB #DB6362 #9EDB62 #62DADB
square
#9F62DB #DB6362 #9EDB62 #62DADB
split-complementary
#9F62DB #DADB62 #62DB63
monochromatic
#62249E #8130D0 #9F62DB #BD94E6 #DCC6F2

Accessibility & contrast

On white

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

On black

5.24
#9F62DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F62DB
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F62DB#FFFFFF#000000##000000
##9F62DB1.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#357DDF
Deuteranopia (green-blind)
#4B7FD8
Tritanopia (blue-blind)
#957995
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9f62db;
/* rgb */ color: rgb(159, 98, 219);
/* oklch */ color: oklch(61.7% 0.182 304.9);
Tailwind
colors: {
  custom: {
    50: '#bf91e7',
    500: '#9f62db',
    950: '#000000',
  },
}
SCSS
$custom: #9f62db;
$custom-light: #bf91e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f62db",
  "rgb": {
    "r": 159,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 270.248,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.61654,
    "c": 0.18171,
    "h": 304.9
  },
  "luminance": 0.21221
}

Semantic roles & 50–950 ramp

primary
#9F62DB
secondary
#CCE3B6
accent
#CA1B72
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9F62DB

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

Preview Lab → · Contrast checker → · Palette generator →

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