#663EA3#663EA3

#663EA3 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.4% C 0.157 H 298.3°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#663EA3
RGBrgb(102, 62, 163)
HSLhsl(264, 45%, 44%)
HSVhsv(264, 62%, 64%)
CMYKcmyk(37.4%, 62%, 0%, 36.1%)
CIE-LABlab(35.82, 39.51, -48.49)
CIE-LCHlch(35.82, 62.55, 309.18°)
OKLaboklab(46.36% 0.0742 -0.1378)
OKLCHoklch(46.36% 0.157 298.3)
XYZxyz(13.8113, 8.9142, 35.6362)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663EA3 #7BA33E
analogous
#3E49A3 #663EA3 #993EA3
triadic
#663EA3 #A3663E #3EA366
tetradic
#663EA3 #A33E49 #7BA33E #3EA399
square
#663EA3 #A33E49 #7BA33E #3EA399
split-complementary
#663EA3 #A3993E #49A33E
monochromatic
#2F1C4A #4A2D77 #663EA3 #855DC1 #A689D2

Accessibility & contrast

On white

7.55
#663EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #663EA3
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663EA3#FFFFFF#000000##FFFFFF
##663EA31.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A6
Deuteranopia (green-blind)
#1453A1
Tritanopia (blue-blind)
#58546A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #663ea3;
/* rgb */ color: rgb(102, 62, 163);
/* oklch */ color: oklch(46.4% 0.157 298.3);
Tailwind
colors: {
  custom: {
    50: '#9675bf',
    500: '#663ea3',
    950: '#000000',
  },
}
SCSS
$custom: #663ea3;
$custom-light: #9675bf;
$custom-dark: #000000;
JSON
{
  "hex": "#663ea3",
  "rgb": {
    "r": 102,
    "g": 62,
    "b": 163
  },
  "hsl": {
    "h": 263.762,
    "s": 44.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46363,
    "c": 0.15655,
    "h": 298.3
  },
  "luminance": 0.08914
}

Semantic roles & 50–950 ramp

primary
#663EA3
secondary
#A5BD80
accent
#D553A1
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #663EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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