#663AB3#663AB3

#663AB3 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.0% C 0.181 H 295.2°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#663AB3
RGBrgb(102, 58, 179)
HSLhsl(262, 51%, 46%)
HSVhsv(262, 68%, 70%)
CMYKcmyk(43%, 67.6%, 0%, 29.8%)
CIE-LABlab(36.19, 46.02, -57.44)
CIE-LCHlch(36.19, 73.60, 308.70°)
OKLaboklab(47% 0.0772 -0.1641)
OKLCHoklch(47% 0.181 295.2)
XYZxyz(15.1271, 9.1052, 43.5996)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663AB3 #87B33A
analogous
#3A4BB3 #663AB3 #A33AB3
triadic
#663AB3 #B3663A #3AB366
tetradic
#663AB3 #B33A4B #87B33A #3AB3A3
square
#663AB3 #B33A4B #87B33A #3AB3A3
split-complementary
#663AB3 #B3A33A #4BB33A
monochromatic
#311C57 #4C2B85 #663AB3 #865FCB #A98DDA

Accessibility & contrast

On white

7.44
#663AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#663AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663AB3
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663AB3#FFFFFF#000000##FFFFFF
##663AB31.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#0053B1
Tritanopia (blue-blind)
#515772
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #663ab3;
/* rgb */ color: rgb(102, 58, 179);
/* oklch */ color: oklch(47.0% 0.181 295.2);
Tailwind
colors: {
  custom: {
    50: '#9873cb',
    500: '#663ab3',
    950: '#000000',
  },
}
SCSS
$custom: #663ab3;
$custom-light: #9873cb;
$custom-dark: #000000;
JSON
{
  "hex": "#663ab3",
  "rgb": {
    "r": 102,
    "g": 58,
    "b": 179
  },
  "hsl": {
    "h": 261.818,
    "s": 51.055,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46999,
    "c": 0.18139,
    "h": 295.2
  },
  "luminance": 0.09106
}

Semantic roles & 50–950 ramp

primary
#663AB3
secondary
#ADC584
accent
#DB4DA7
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #663AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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