#663EA4#663EA4

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

Color values

HEX#663EA4
RGBrgb(102, 62, 164)
HSLhsl(264, 45%, 44%)
HSVhsv(264, 62%, 64%)
CMYKcmyk(37.8%, 62.2%, 0%, 35.7%)
CIE-LABlab(35.89, 39.78, -48.97)
CIE-LCHlch(35.89, 63.09, 309.09°)
OKLaboklab(46.44% 0.0742 -0.1393)
OKLCHoklch(46.44% 0.158 298)
XYZxyz(13.9013, 8.9502, 36.1099)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663EA4 #7CA43E
analogous
#3E49A4 #663EA4 #993EA4
triadic
#663EA4 #A4663E #3EA466
tetradic
#663EA4 #A43E49 #7CA43E #3EA499
square
#663EA4 #A43E49 #7CA43E #3EA499
split-complementary
#663EA4 #A4993E #49A43E
monochromatic
#2F1C4B #4A2D78 #663EA4 #855DC2 #A68AD3

Accessibility & contrast

On white

7.53
#663EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#663EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663EA4
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663EA4#FFFFFF#000000##FFFFFF
##663EA41.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A7
Deuteranopia (green-blind)
#1153A2
Tritanopia (blue-blind)
#58546B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #663ea4;
/* rgb */ color: rgb(102, 62, 164);
/* oklch */ color: oklch(46.4% 0.158 298.0);
Tailwind
colors: {
  custom: {
    50: '#9675c0',
    500: '#663ea4',
    950: '#000000',
  },
}
SCSS
$custom: #663ea4;
$custom-light: #9675c0;
$custom-dark: #000000;
JSON
{
  "hex": "#663ea4",
  "rgb": {
    "r": 102,
    "g": 62,
    "b": 164
  },
  "hsl": {
    "h": 263.529,
    "s": 45.133,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46436,
    "c": 0.15778,
    "h": 298
  },
  "luminance": 0.0895
}

Semantic roles & 50–950 ramp

primary
#663EA4
secondary
#A5BD81
accent
#D553A2
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #663EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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