#9A63DB#9A63DB

#9A63DB is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.3% C 0.179 H 302.6°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#9A63DB
RGBrgb(154, 99, 219)
HSLhsl(268, 63%, 62%)
HSVhsv(268, 55%, 86%)
CMYKcmyk(29.7%, 54.8%, 0%, 14.1%)
CIE-LABlab(52.85, 45.82, -53.44)
CIE-LCHlch(52.85, 70.39, 310.61°)
OKLaboklab(61.28% 0.0965 -0.1508)
OKLCHoklch(61.28% 0.179 302.6)
XYZxyz(30.5715, 20.9082, 69.4292)
Luminance0.2091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A63DB #A4DB63
analogous
#6368DB #9A63DB #D663DB
triadic
#9A63DB #DB9A63 #63DB9A
tetradic
#9A63DB #DB6368 #A4DB63 #63DBD6
square
#9A63DB #DB6368 #A4DB63 #63DBD6
split-complementary
#9A63DB #DBD663 #68DB63
monochromatic
#5D259F #7A31D0 #9A63DB #BA95E6 #DAC6F2

Accessibility & contrast

On white

4.05
#9A63DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#9A63DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A63DB
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A63DB#FFFFFF#000000##000000
##9A63DB1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#357DDF
Deuteranopia (green-blind)
#487ED8
Tritanopia (blue-blind)
#8E7A96
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9a63db;
/* rgb */ color: rgb(154, 99, 219);
/* oklch */ color: oklch(61.3% 0.179 302.6);
Tailwind
colors: {
  custom: {
    50: '#bb91e7',
    500: '#9a63db',
    950: '#000000',
  },
}
SCSS
$custom: #9a63db;
$custom-light: #bb91e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a63db",
  "rgb": {
    "r": 154,
    "g": 99,
    "b": 219
  },
  "hsl": {
    "h": 267.5,
    "s": 62.5,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61279,
    "c": 0.17902,
    "h": 302.6
  },
  "luminance": 0.20908
}

Semantic roles & 50–950 ramp

primary
#9A63DB
secondary
#CFE3B7
accent
#CA1B7A
background
#FBF9FE
surface
#F7F1FC
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9A63DB

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

Preview Lab → · Contrast checker → · Palette generator →

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