#663DD2#663DD2

#663DD2 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.0% C 0.214 H 288.8°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#663DD2
RGBrgb(102, 61, 210)
HSLhsl(257, 62%, 53%)
HSVhsv(257, 71%, 82%)
CMYKcmyk(51.4%, 71%, 0%, 17.6%)
CIE-LABlab(39.27, 52.99, -70.54)
CIE-LCHlch(39.27, 88.22, 306.92°)
OKLaboklab(49.98% 0.069 -0.2026)
OKLCHoklch(49.98% 0.214 288.8)
XYZxyz(18.7777, 10.8145, 62.0583)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663DD2 #A9D23D
analogous
#3D5ED2 #663DD2 #B03DD2
triadic
#663DD2 #D2663D #3DD266
tetradic
#663DD2 #D23D5E #A9D23D #3DD2B0
square
#663DD2 #D23D5E #A9D23D #3DD2B0
split-complementary
#663DD2 #D2B03D #5ED23D
monochromatic
#351C79 #4B28AA #663DD2 #8D6FDE #B4A0E9

Accessibility & contrast

On white

6.64
#663DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#663DD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663DD2
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663DD2#FFFFFF#000000##FFFFFF
##663DD21.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D6
Deuteranopia (green-blind)
#0059CF
Tritanopia (blue-blind)
#3E6483
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #663dd2;
/* rgb */ color: rgb(102, 61, 210);
/* oklch */ color: oklch(50.0% 0.214 288.8);
Tailwind
colors: {
  custom: {
    50: '#9c76e1',
    500: '#663dd2',
    950: '#000000',
  },
}
SCSS
$custom: #663dd2;
$custom-light: #9c76e1;
$custom-dark: #000000;
JSON
{
  "hex": "#663dd2",
  "rgb": {
    "r": 102,
    "g": 61,
    "b": 210
  },
  "hsl": {
    "h": 256.51,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49979,
    "c": 0.21403,
    "h": 288.8
  },
  "luminance": 0.10815
}

Semantic roles & 50–950 ramp

primary
#663DD2
secondary
#C4D695
accent
#E542B9
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #663DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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