#663AD5#663AD5

#663AD5 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 49.9% C 0.221 H 288.7°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#663AD5
RGBrgb(102, 58, 213)
HSLhsl(257, 65%, 53%)
HSVhsv(257, 73%, 84%)
CMYKcmyk(52.1%, 72.8%, 0%, 16.5%)
CIE-LABlab(38.99, 55.32, -72.72)
CIE-LCHlch(38.99, 91.36, 307.26°)
OKLaboklab(49.86% 0.0708 -0.209)
OKLCHoklch(49.86% 0.221 288.7)
XYZxyz(18.9993, 10.6541, 63.9932)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663AD5 #A9D53A
analogous
#3A5BD5 #663AD5 #B33AD5
triadic
#663AD5 #D5663A #3AD566
tetradic
#663AD5 #D53A5B #A9D53A #3AD5B3
square
#663AD5 #D53A5B #A9D53A #3AD5B3
split-complementary
#663AD5 #D5B33A #5BD53A
monochromatic
#351A7A #4B25AD #663AD5 #8D6CE0 #B49FEB

Accessibility & contrast

On white

6.71
#663AD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#663AD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663AD5
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663AD5#FFFFFF#000000##FFFFFF
##663AD51.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD9
Deuteranopia (green-blind)
#0058D2
Tritanopia (blue-blind)
#3C6484
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #663ad5;
/* rgb */ color: rgb(102, 58, 213);
/* oklch */ color: oklch(49.9% 0.221 288.7);
Tailwind
colors: {
  custom: {
    50: '#9c74e3',
    500: '#663ad5',
    950: '#000000',
  },
}
SCSS
$custom: #663ad5;
$custom-light: #9c74e3;
$custom-dark: #000000;
JSON
{
  "hex": "#663ad5",
  "rgb": {
    "r": 102,
    "g": 58,
    "b": 213
  },
  "hsl": {
    "h": 257.032,
    "s": 64.854,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49864,
    "c": 0.22065,
    "h": 288.7
  },
  "luminance": 0.10655
}

Semantic roles & 50–950 ramp

primary
#663AD5
secondary
#C4D794
accent
#E840B8
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #663AD5

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

Preview Lab → · Contrast checker → · Palette generator →

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