#663CA9#663CA9

#663CA9 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.5% C 0.167 H 297.2°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#663CA9
RGBrgb(102, 60, 169)
HSLhsl(263, 48%, 45%)
HSVhsv(263, 64%, 66%)
CMYKcmyk(39.6%, 64.5%, 0%, 33.7%)
CIE-LABlab(35.83, 42.24, -52.06)
CIE-LCHlch(35.83, 67.04, 309.05°)
OKLaboklab(46.51% 0.0762 -0.1483)
OKLCHoklch(46.51% 0.167 297.2)
XYZxyz(14.2549, 8.9208, 38.4993)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663CA9 #7FA93C
analogous
#3C49A9 #663CA9 #9C3CA9
triadic
#663CA9 #A9663C #3CA966
tetradic
#663CA9 #A93C49 #7FA93C #3CA99C
square
#663CA9 #A93C49 #7FA93C #3CA99C
split-complementary
#663CA9 #A99C3C #49A93C
monochromatic
#2F1C4F #4B2C7C #663CA9 #855DC5 #A78AD5

Accessibility & contrast

On white

7.54
#663CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#663CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663CA9
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663CA9#FFFFFF#000000##FFFFFF
##663CA91.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AC
Deuteranopia (green-blind)
#0053A7
Tritanopia (blue-blind)
#56556D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #663ca9;
/* rgb */ color: rgb(102, 60, 169);
/* oklch */ color: oklch(46.5% 0.167 297.2);
Tailwind
colors: {
  custom: {
    50: '#9774c3',
    500: '#663ca9',
    950: '#000000',
  },
}
SCSS
$custom: #663ca9;
$custom-light: #9774c3;
$custom-dark: #000000;
JSON
{
  "hex": "#663ca9",
  "rgb": {
    "r": 102,
    "g": 60,
    "b": 169
  },
  "hsl": {
    "h": 263.119,
    "s": 47.598,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46507,
    "c": 0.16676,
    "h": 297.2
  },
  "luminance": 0.08921
}

Semantic roles & 50–950 ramp

primary
#663CA9
secondary
#A8C081
accent
#D751A3
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #663CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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