#663EA1#663EA1

#663EA1 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.2% C 0.154 H 298.8°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#663EA1
RGBrgb(102, 62, 161)
HSLhsl(264, 44%, 44%)
HSVhsv(264, 61%, 63%)
CMYKcmyk(36.6%, 61.5%, 0%, 36.9%)
CIE-LABlab(35.68, 38.97, -47.51)
CIE-LCHlch(35.68, 61.45, 309.36°)
OKLaboklab(46.22% 0.0743 -0.1349)
OKLCHoklch(46.22% 0.154 298.8)
XYZxyz(13.6335, 8.8431, 34.6999)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663EA1 #79A13E
analogous
#3E47A1 #663EA1 #973EA1
triadic
#663EA1 #A1663E #3EA166
tetradic
#663EA1 #A13E47 #79A13E #3EA197
square
#663EA1 #A13E47 #79A13E #3EA197
split-complementary
#663EA1 #A1973E #47A13E
monochromatic
#2E1C49 #4A2D75 #663EA1 #845CC0 #A688D1

Accessibility & contrast

On white

7.59
#663EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#663EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663EA1
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663EA1#FFFFFF#000000##FFFFFF
##663EA11.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A4
Deuteranopia (green-blind)
#18539F
Tritanopia (blue-blind)
#595369
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #663ea1;
/* rgb */ color: rgb(102, 62, 161);
/* oklch */ color: oklch(46.2% 0.154 298.8);
Tailwind
colors: {
  custom: {
    50: '#9675bd',
    500: '#663ea1',
    950: '#000000',
  },
}
SCSS
$custom: #663ea1;
$custom-light: #9675bd;
$custom-dark: #000000;
JSON
{
  "hex": "#663ea1",
  "rgb": {
    "r": 102,
    "g": 62,
    "b": 161
  },
  "hsl": {
    "h": 264.242,
    "s": 44.395,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46218,
    "c": 0.15407,
    "h": 298.8
  },
  "luminance": 0.08843
}

Semantic roles & 50–950 ramp

primary
#663EA1
secondary
#A3BC7F
accent
#D454A0
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #663EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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