#663B9E#663B9E

#663B9E is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.5% C 0.155 H 300.3°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#663B9E
RGBrgb(102, 59, 158)
HSLhsl(266, 46%, 43%)
HSVhsv(266, 63%, 62%)
CMYKcmyk(35.4%, 62.7%, 0%, 38%)
CIE-LABlab(34.85, 39.86, -47.04)
CIE-LCHlch(34.85, 61.66, 310.27°)
OKLaboklab(45.54% 0.0782 -0.1336)
OKLCHoklch(45.54% 0.155 300.3)
XYZxyz(13.2135, 8.4212, 33.2704)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663B9E #739E3B
analogous
#3B419E #663B9E #983B9E
triadic
#663B9E #9E663B #3B9E66
tetradic
#663B9E #9E3B41 #739E3B #3B9E98
square
#663B9E #9E3B41 #739E3B #3B9E98
split-complementary
#663B9E #9E983B #419E3B
monochromatic
#2C1A45 #492A71 #663B9E #8456C0 #A583D1

Accessibility & contrast

On white

7.82
#663B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#663B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663B9E
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663B9E#FFFFFF#000000##FFFFFF
##663B9E1.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A1
Deuteranopia (green-blind)
#17519C
Tritanopia (blue-blind)
#5A5067
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #663b9e;
/* rgb */ color: rgb(102, 59, 158);
/* oklch */ color: oklch(45.5% 0.155 300.3);
Tailwind
colors: {
  custom: {
    50: '#9673bb',
    500: '#663b9e',
    950: '#000000',
  },
}
SCSS
$custom: #663b9e;
$custom-light: #9673bb;
$custom-dark: #000000;
JSON
{
  "hex": "#663b9e",
  "rgb": {
    "r": 102,
    "g": 59,
    "b": 158
  },
  "hsl": {
    "h": 266.061,
    "s": 45.622,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45544,
    "c": 0.15477,
    "h": 300.3
  },
  "luminance": 0.08421
}

Semantic roles & 50–950 ramp

primary
#663B9E
secondary
#9FBB7A
accent
#D5539C
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #663B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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