#9A63DF#9A63DF

#9A63DF is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.5% C 0.184 H 301.7°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9A63DF
RGBrgb(154, 99, 223)
HSLhsl(267, 66%, 63%)
HSVhsv(267, 56%, 87%)
CMYKcmyk(30.9%, 55.6%, 0%, 12.5%)
CIE-LABlab(53.08, 46.79, -55.33)
CIE-LCHlch(53.08, 72.46, 310.22°)
OKLaboklab(61.53% 0.0966 -0.1563)
OKLCHoklch(61.53% 0.184 301.7)
XYZxyz(31.1045, 21.1213, 72.2359)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A63DF #A8DF63
analogous
#636ADF #9A63DF #D863DF
triadic
#9A63DF #DF9A63 #63DF9A
tetradic
#9A63DF #DF636A #A8DF63 #63DFD8
square
#9A63DF #DF636A #A8DF63 #63DFD8
split-complementary
#9A63DF #DFD863 #6ADF63
monochromatic
#5C22A6 #7930D5 #9A63DF #BB96E9 #DCC9F4

Accessibility & contrast

On white

4.02
#9A63DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#9A63DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A63DF
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A63DF#FFFFFF#000000##000000
##9A63DF1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#307EE3
Deuteranopia (green-blind)
#447EDC
Tritanopia (blue-blind)
#8C7B98
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9a63df;
/* rgb */ color: rgb(154, 99, 223);
/* oklch */ color: oklch(61.5% 0.184 301.7);
Tailwind
colors: {
  custom: {
    50: '#bb91ea',
    500: '#9a63df',
    950: '#000000',
  },
}
SCSS
$custom: #9a63df;
$custom-light: #bb91ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9a63df",
  "rgb": {
    "r": 154,
    "g": 99,
    "b": 223
  },
  "hsl": {
    "h": 266.613,
    "s": 65.957,
    "l": 63.137
  },
  "oklch": {
    "l": 0.61525,
    "c": 0.18377,
    "h": 301.7
  },
  "luminance": 0.21121
}

Semantic roles & 50–950 ramp

primary
#9A63DF
secondary
#D1E5B9
accent
#CE187D
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9A63DF

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

Preview Lab → · Contrast checker → · Palette generator →

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