#663ED5#663ED5

#663ED5 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.4% C 0.216 H 288.2°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#663ED5
RGBrgb(102, 62, 213)
HSLhsl(256, 64%, 54%)
HSVhsv(256, 71%, 84%)
CMYKcmyk(52.1%, 70.9%, 0%, 16.5%)
CIE-LABlab(39.70, 53.32, -71.55)
CIE-LCHlch(39.70, 89.23, 306.69°)
OKLaboklab(50.37% 0.0675 -0.2056)
OKLCHoklch(50.37% 0.216 288.2)
XYZxyz(19.2088, 11.0732, 64.0631)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663ED5 #ADD53E
analogous
#3E62D5 #663ED5 #B23ED5
triadic
#663ED5 #D5663E #3ED566
tetradic
#663ED5 #D53E62 #ADD53E #3ED5B2
square
#663ED5 #D53E62 #ADD53E #3ED5B2
split-complementary
#663ED5 #D5B23E #62D53E
monochromatic
#351B7D #4B26B0 #663ED5 #8E70E0 #B6A3EB

Accessibility & contrast

On white

6.53
#663ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#663ED5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663ED5
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663ED5#FFFFFF#000000##FFFFFF
##663ED51.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D9
Deuteranopia (green-blind)
#005AD2
Tritanopia (blue-blind)
#3B6685
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #663ed5;
/* rgb */ color: rgb(102, 62, 213);
/* oklch */ color: oklch(50.4% 0.216 288.2);
Tailwind
colors: {
  custom: {
    50: '#9c77e3',
    500: '#663ed5',
    950: '#000000',
  },
}
SCSS
$custom: #663ed5;
$custom-light: #9c77e3;
$custom-dark: #000000;
JSON
{
  "hex": "#663ed5",
  "rgb": {
    "r": 102,
    "g": 62,
    "b": 213
  },
  "hsl": {
    "h": 255.894,
    "s": 64.255,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50368,
    "c": 0.21639,
    "h": 288.2
  },
  "luminance": 0.11074
}

Semantic roles & 50–950 ramp

primary
#663ED5
secondary
#C7D897
accent
#E741BB
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #663ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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