#663B9C#663B9C

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

Color values

HEX#663B9C
RGBrgb(102, 59, 156)
HSLhsl(267, 45%, 42%)
HSVhsv(267, 62%, 61%)
CMYKcmyk(34.6%, 62.2%, 0%, 38.8%)
CIE-LABlab(34.71, 39.33, -46.06)
CIE-LCHlch(34.71, 60.57, 310.50°)
OKLaboklab(45.4% 0.0783 -0.1307)
OKLCHoklch(45.4% 0.152 300.9)
XYZxyz(13.0428, 8.3529, 32.3712)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663B9C #719C3B
analogous
#3B419C #663B9C #973B9C
triadic
#663B9C #9C663B #3B9C66
tetradic
#663B9C #9C3B41 #719C3B #3B9C97
square
#663B9C #9C3B41 #719C3B #3B9C97
split-complementary
#663B9C #9C973B #419C3B
monochromatic
#2C1943 #492A70 #663B9C #8455BF #A482D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##663B9C#FFFFFF#000000##FFFFFF
##663B9C1.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)
#00519F
Deuteranopia (green-blind)
#1B519A
Tritanopia (blue-blind)
#5B5066
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #663b9c;
/* rgb */ color: rgb(102, 59, 156);
/* oklch */ color: oklch(45.4% 0.152 300.9);
Tailwind
colors: {
  custom: {
    50: '#9573ba',
    500: '#663b9c',
    950: '#000000',
  },
}
SCSS
$custom: #663b9c;
$custom-light: #9573ba;
$custom-dark: #000000;
JSON
{
  "hex": "#663b9c",
  "rgb": {
    "r": 102,
    "g": 59,
    "b": 156
  },
  "hsl": {
    "h": 266.598,
    "s": 45.116,
    "l": 42.157
  },
  "oklch": {
    "l": 0.454,
    "c": 0.15232,
    "h": 300.9
  },
  "luminance": 0.08353
}

Semantic roles & 50–950 ramp

primary
#663B9C
secondary
#9DB979
accent
#D5539B
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #663B9C

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

Preview Lab → · Contrast checker → · Palette generator →

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