#9D63DB#9D63DB

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

Color values

HEX#9D63DB
RGBrgb(157, 99, 219)
HSLhsl(269, 63%, 62%)
HSVhsv(269, 55%, 86%)
CMYKcmyk(28.3%, 54.8%, 0%, 14.1%)
CIE-LABlab(53.17, 46.56, -52.90)
CIE-LCHlch(53.17, 70.47, 311.35°)
OKLaboklab(61.59% 0.1002 -0.1491)
OKLCHoklch(61.59% 0.18 303.9)
XYZxyz(31.1498, 21.2063, 69.4563)
Luminance0.2121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D63DB #A1DB63
analogous
#6365DB #9D63DB #D963DB
triadic
#9D63DB #DB9D63 #63DB9D
tetradic
#9D63DB #DB6365 #A1DB63 #63DBD9
square
#9D63DB #DB6365 #A1DB63 #63DBD9
split-complementary
#9D63DB #DBD963 #65DB63
monochromatic
#60259F #7E31D0 #9D63DB #BC95E6 #DBC6F2

Accessibility & contrast

On white

4.01
#9D63DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D63DB#FFFFFF#000000##000000
##9D63DB1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#377EDF
Deuteranopia (green-blind)
#4B7FD8
Tritanopia (blue-blind)
#927A96
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9d63db;
/* rgb */ color: rgb(157, 99, 219);
/* oklch */ color: oklch(61.6% 0.180 303.9);
Tailwind
colors: {
  custom: {
    50: '#bd91e7',
    500: '#9d63db',
    950: '#000000',
  },
}
SCSS
$custom: #9d63db;
$custom-light: #bd91e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d63db",
  "rgb": {
    "r": 157,
    "g": 99,
    "b": 219
  },
  "hsl": {
    "h": 269,
    "s": 62.5,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61592,
    "c": 0.1797,
    "h": 303.9
  },
  "luminance": 0.21206
}

Semantic roles & 50–950 ramp

primary
#9D63DB
secondary
#CEE3B7
accent
#CA1B76
background
#FBF9FE
surface
#F7F1FC
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9D63DB

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

Preview Lab → · Contrast checker → · Palette generator →

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