#9A63DC#9A63DC

#9A63DC is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.3% C 0.180 H 302.4°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#9A63DC
RGBrgb(154, 99, 220)
HSLhsl(267, 63%, 63%)
HSVhsv(267, 55%, 86%)
CMYKcmyk(30%, 55%, 0%, 13.7%)
CIE-LABlab(52.91, 46.06, -53.91)
CIE-LCHlch(52.91, 70.91, 310.51°)
OKLaboklab(61.34% 0.0965 -0.1522)
OKLCHoklch(61.34% 0.18 302.4)
XYZxyz(30.7036, 20.9610, 70.1246)
Luminance0.2096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A63DC #A5DC63
analogous
#6368DC #9A63DC #D763DC
triadic
#9A63DC #DC9A63 #63DC9A
tetradic
#9A63DC #DC6368 #A5DC63 #63DCD7
square
#9A63DC #DC6368 #A5DC63 #63DCD7
split-complementary
#9A63DC #DCD763 #68DC63
monochromatic
#5D24A1 #7A31D1 #9A63DC #BA95E7 #DBC7F2

Accessibility & contrast

On white

4.04
#9A63DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#9A63DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A63DC
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A63DC#FFFFFF#000000##000000
##9A63DC1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#347DE0
Deuteranopia (green-blind)
#477ED9
Tritanopia (blue-blind)
#8D7B96
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9a63dc;
/* rgb */ color: rgb(154, 99, 220);
/* oklch */ color: oklch(61.3% 0.180 302.4);
Tailwind
colors: {
  custom: {
    50: '#bb91e7',
    500: '#9a63dc',
    950: '#000000',
  },
}
SCSS
$custom: #9a63dc;
$custom-light: #bb91e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a63dc",
  "rgb": {
    "r": 154,
    "g": 99,
    "b": 220
  },
  "hsl": {
    "h": 267.273,
    "s": 63.351,
    "l": 62.549
  },
  "oklch": {
    "l": 0.6134,
    "c": 0.18021,
    "h": 302.4
  },
  "luminance": 0.20961
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9A63DC

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

Preview Lab → · Contrast checker → · Palette generator →

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