#663DD7#663DD7

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

Color values

HEX#663DD7
RGBrgb(102, 61, 215)
HSLhsl(256, 66%, 54%)
HSVhsv(256, 72%, 84%)
CMYKcmyk(52.6%, 71.6%, 0%, 15.7%)
CIE-LABlab(39.69, 54.38, -72.71)
CIE-LCHlch(39.69, 90.80, 306.79°)
OKLaboklab(50.41% 0.0679 -0.209)
OKLCHoklch(50.41% 0.22 288)
XYZxyz(19.4104, 11.0676, 65.3903)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663DD7 #AED73D
analogous
#3D61D7 #663DD7 #B33DD7
triadic
#663DD7 #D7663D #3DD766
tetradic
#663DD7 #D73D61 #AED73D #3DD7B3
square
#663DD7 #D73D61 #AED73D #3DD7B3
split-complementary
#663DD7 #D7B33D #61D73D
monochromatic
#351A7F #4A25B2 #663DD7 #8E70E1 #B6A2EC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##663DD7#FFFFFF#000000##FFFFFF
##663DD71.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)
#0061DC
Deuteranopia (green-blind)
#0059D4
Tritanopia (blue-blind)
#3A6686
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #663dd7;
/* rgb */ color: rgb(102, 61, 215);
/* oklch */ color: oklch(50.4% 0.220 288.0);
Tailwind
colors: {
  custom: {
    50: '#9c76e5',
    500: '#663dd7',
    950: '#000000',
  },
}
SCSS
$custom: #663dd7;
$custom-light: #9c76e5;
$custom-dark: #000000;
JSON
{
  "hex": "#663dd7",
  "rgb": {
    "r": 102,
    "g": 61,
    "b": 215
  },
  "hsl": {
    "h": 255.974,
    "s": 65.812,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50414,
    "c": 0.21977,
    "h": 288
  },
  "luminance": 0.11069
}

Semantic roles & 50–950 ramp

primary
#663DD7
secondary
#C7D997
accent
#E93FBC
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #663DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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