#663C99#663C99

#663C99 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.3% C 0.147 H 301.6°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#663C99
RGBrgb(102, 60, 153)
HSLhsl(267, 44%, 42%)
HSVhsv(267, 61%, 60%)
CMYKcmyk(33.3%, 60.8%, 0%, 40%)
CIE-LABlab(34.71, 37.98, -44.23)
CIE-LCHlch(34.71, 58.30, 310.66°)
OKLaboklab(45.34% 0.0771 -0.1253)
OKLCHoklch(45.34% 0.147 301.6)
XYZxyz(12.8438, 8.3564, 31.0671)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663C99 #6F993C
analogous
#3C4199 #663C99 #953C99
triadic
#663C99 #99663C #3C9966
tetradic
#663C99 #993C41 #6F993C #3C9995
square
#663C99 #993C41 #6F993C #3C9995
split-complementary
#663C99 #99953C #41993C
monochromatic
#2B1A41 #492B6D #663C99 #8456BD #A482CE

Accessibility & contrast

On white

7.86
#663C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#663C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663C99
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663C99#FFFFFF#000000##FFFFFF
##663C991.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08519C
Deuteranopia (green-blind)
#215197
Tritanopia (blue-blind)
#5C4F64
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #663c99;
/* rgb */ color: rgb(102, 60, 153);
/* oklch */ color: oklch(45.3% 0.147 301.6);
Tailwind
colors: {
  custom: {
    50: '#9574b8',
    500: '#663c99',
    950: '#000000',
  },
}
SCSS
$custom: #663c99;
$custom-light: #9574b8;
$custom-dark: #000000;
JSON
{
  "hex": "#663c99",
  "rgb": {
    "r": 102,
    "g": 60,
    "b": 153
  },
  "hsl": {
    "h": 267.097,
    "s": 43.662,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4534,
    "c": 0.14713,
    "h": 301.6
  },
  "luminance": 0.08356
}

Semantic roles & 50–950 ramp

primary
#663C99
secondary
#9BB879
accent
#D3549A
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #663C99

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

Preview Lab → · Contrast checker → · Palette generator →

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