#9F63DB#9F63DB

#9F63DB is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.8% C 0.180 H 304.8°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#9F63DB
RGBrgb(159, 99, 219)
HSLhsl(270, 63%, 62%)
HSVhsv(270, 55%, 86%)
CMYKcmyk(27.4%, 54.8%, 0%, 14.1%)
CIE-LABlab(53.39, 47.06, -52.54)
CIE-LCHlch(53.39, 70.53, 311.85°)
OKLaboklab(61.8% 0.1028 -0.148)
OKLCHoklch(61.8% 0.18 304.8)
XYZxyz(31.5433, 21.4092, 69.4747)
Luminance0.2141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F63DB #9FDB63
analogous
#6363DB #9F63DB #DB63DB
triadic
#9F63DB #DB9F63 #63DB9F
tetradic
#9F63DB #DB6363 #9FDB63 #63DBDB
square
#9F63DB #DB6363 #9FDB63 #63DBDB
split-complementary
#9F63DB #DBDB63 #63DB63
monochromatic
#62259F #8031D0 #9F63DB #BE95E6 #DCC6F2

Accessibility & contrast

On white

3.98
#9F63DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#9F63DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F63DB
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F63DB#FFFFFF#000000##000000
##9F63DB1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#387EDF
Deuteranopia (green-blind)
#4D80D8
Tritanopia (blue-blind)
#957A96
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9f63db;
/* rgb */ color: rgb(159, 99, 219);
/* oklch */ color: oklch(61.8% 0.180 304.8);
Tailwind
colors: {
  custom: {
    50: '#be91e7',
    500: '#9f63db',
    950: '#000000',
  },
}
SCSS
$custom: #9f63db;
$custom-light: #be91e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f63db",
  "rgb": {
    "r": 159,
    "g": 99,
    "b": 219
  },
  "hsl": {
    "h": 270,
    "s": 62.5,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61804,
    "c": 0.18019,
    "h": 304.8
  },
  "luminance": 0.21409
}

Semantic roles & 50–950 ramp

primary
#9F63DB
secondary
#CDE3B7
accent
#CA1B73
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9F63DB

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

Preview Lab → · Contrast checker → · Palette generator →

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