#663CAB#663CAB

#663CAB is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.7% C 0.169 H 296.7°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#663CAB
RGBrgb(102, 60, 171)
HSLhsl(263, 48%, 45%)
HSVhsv(263, 65%, 67%)
CMYKcmyk(40.4%, 64.9%, 0%, 32.9%)
CIE-LABlab(35.98, 42.78, -53.02)
CIE-LCHlch(35.98, 68.13, 308.90°)
OKLaboklab(46.66% 0.076 -0.1511)
OKLCHoklch(46.66% 0.169 296.7)
XYZxyz(14.4441, 8.9965, 39.4957)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663CAB #81AB3C
analogous
#3C49AB #663CAB #9E3CAB
triadic
#663CAB #AB663C #3CAB66
tetradic
#663CAB #AB3C49 #81AB3C #3CAB9E
square
#663CAB #AB3C49 #81AB3C #3CAB9E
split-complementary
#663CAB #AB9E3C #49AB3C
monochromatic
#301C50 #4B2C7E #663CAB #855EC6 #A88BD6

Accessibility & contrast

On white

7.50
#663CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#663CAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663CAB
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663CAB#FFFFFF#000000##FFFFFF
##663CAB1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AE
Deuteranopia (green-blind)
#0053A9
Tritanopia (blue-blind)
#55556E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #663cab;
/* rgb */ color: rgb(102, 60, 171);
/* oklch */ color: oklch(46.7% 0.169 296.7);
Tailwind
colors: {
  custom: {
    50: '#9774c5',
    500: '#663cab',
    950: '#000000',
  },
}
SCSS
$custom: #663cab;
$custom-light: #9774c5;
$custom-dark: #000000;
JSON
{
  "hex": "#663cab",
  "rgb": {
    "r": 102,
    "g": 60,
    "b": 171
  },
  "hsl": {
    "h": 262.703,
    "s": 48.052,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46659,
    "c": 0.16918,
    "h": 296.7
  },
  "luminance": 0.08997
}

Semantic roles & 50–950 ramp

primary
#663CAB
secondary
#A9C182
accent
#D850A4
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #663CAB

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

Preview Lab → · Contrast checker → · Palette generator →

#663CAB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva