#663EA2#663EA2

#663EA2 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.3% C 0.155 H 298.6°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#663EA2
RGBrgb(102, 62, 162)
HSLhsl(264, 45%, 44%)
HSVhsv(264, 62%, 64%)
CMYKcmyk(37%, 61.7%, 0%, 36.5%)
CIE-LABlab(35.75, 39.24, -48.00)
CIE-LCHlch(35.75, 62.00, 309.27°)
OKLaboklab(46.29% 0.0743 -0.1364)
OKLCHoklch(46.29% 0.155 298.6)
XYZxyz(13.7221, 8.8785, 35.1662)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663EA2 #7AA23E
analogous
#3E48A2 #663EA2 #983EA2
triadic
#663EA2 #A2663E #3EA266
tetradic
#663EA2 #A23E48 #7AA23E #3EA298
square
#663EA2 #A23E48 #7AA23E #3EA298
split-complementary
#663EA2 #A2983E #48A23E
monochromatic
#2E1C49 #4A2D76 #663EA2 #855CC1 #A689D2

Accessibility & contrast

On white

7.57
#663EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #663EA2
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663EA2#FFFFFF#000000##FFFFFF
##663EA21.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#1653A0
Tritanopia (blue-blind)
#58546A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #663ea2;
/* rgb */ color: rgb(102, 62, 162);
/* oklch */ color: oklch(46.3% 0.155 298.6);
Tailwind
colors: {
  custom: {
    50: '#9675be',
    500: '#663ea2',
    950: '#000000',
  },
}
SCSS
$custom: #663ea2;
$custom-light: #9675be;
$custom-dark: #000000;
JSON
{
  "hex": "#663ea2",
  "rgb": {
    "r": 102,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 264,
    "s": 44.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4629,
    "c": 0.15531,
    "h": 298.6
  },
  "luminance": 0.08879
}

Semantic roles & 50–950 ramp

primary
#663EA2
secondary
#A4BC80
accent
#D453A1
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #663EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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