#663DD9#663DD9

#663DD9 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.6% C 0.222 H 287.7°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#663DD9
RGBrgb(102, 61, 217)
HSLhsl(256, 67%, 55%)
HSVhsv(256, 72%, 85%)
CMYKcmyk(53%, 71.9%, 0%, 14.9%)
CIE-LABlab(39.87, 54.94, -73.58)
CIE-LCHlch(39.87, 91.83, 306.75°)
OKLaboklab(50.59% 0.0675 -0.2115)
OKLCHoklch(50.59% 0.222 287.7)
XYZxyz(19.6689, 11.1710, 66.7520)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663DD9 #B0D93D
analogous
#3D62D9 #663DD9 #B43DD9
triadic
#663DD9 #D9663D #3DD966
tetradic
#663DD9 #D93D62 #B0D93D #3DD9B4
square
#663DD9 #D93D62 #B0D93D #3DD9B4
split-complementary
#663DD9 #D9B43D #62D93D
monochromatic
#351982 #4A24B5 #663DD9 #8E70E3 #B7A3ED

Accessibility & contrast

On white

6.49
#663DD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#663DD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663DD9
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663DD9#FFFFFF#000000##FFFFFF
##663DD91.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061DE
Deuteranopia (green-blind)
#005AD6
Tritanopia (blue-blind)
#386787
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #663dd9;
/* rgb */ color: rgb(102, 61, 217);
/* oklch */ color: oklch(50.6% 0.222 287.7);
Tailwind
colors: {
  custom: {
    50: '#9d76e6',
    500: '#663dd9',
    950: '#000000',
  },
}
SCSS
$custom: #663dd9;
$custom-light: #9d76e6;
$custom-dark: #000000;
JSON
{
  "hex": "#663dd9",
  "rgb": {
    "r": 102,
    "g": 61,
    "b": 217
  },
  "hsl": {
    "h": 255.769,
    "s": 67.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5059,
    "c": 0.22204,
    "h": 287.7
  },
  "luminance": 0.11172
}

Semantic roles & 50–950 ramp

primary
#663DD9
secondary
#C9DA98
accent
#EA3EBD
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #663DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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