#663CCC#663CCC

#663CCC is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.3% C 0.208 H 289.9°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#663CCC
RGBrgb(102, 60, 204)
HSLhsl(258, 59%, 52%)
HSVhsv(258, 71%, 80%)
CMYKcmyk(50%, 70.6%, 0%, 20%)
CIE-LABlab(38.58, 51.84, -68.19)
CIE-LCHlch(38.58, 85.66, 307.24°)
OKLaboklab(49.33% 0.071 -0.1957)
OKLCHoklch(49.33% 0.208 289.9)
XYZxyz(17.9913, 10.4154, 58.1774)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663CCC #A2CC3C
analogous
#3C5ACC #663CCC #AE3CCC
triadic
#663CCC #CC663C #3CCC66
tetradic
#663CCC #CC3C5A #A2CC3C #3CCCAE
square
#663CCC #CC3C5A #A2CC3C #3CCCAE
split-complementary
#663CCC #CCAE3C #5ACC3C
monochromatic
#361D70 #4D2AA1 #663CCC #8C6DD9 #B29DE5

Accessibility & contrast

On white

6.81
#663CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#663CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663CCC
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663CCC#FFFFFF#000000##FFFFFF
##663CCC1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD0
Deuteranopia (green-blind)
#0057C9
Tritanopia (blue-blind)
#436180
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #663ccc;
/* rgb */ color: rgb(102, 60, 204);
/* oklch */ color: oklch(49.3% 0.208 289.9);
Tailwind
colors: {
  custom: {
    50: '#9b75dd',
    500: '#663ccc',
    950: '#000000',
  },
}
SCSS
$custom: #663ccc;
$custom-light: #9b75dd;
$custom-dark: #000000;
JSON
{
  "hex": "#663ccc",
  "rgb": {
    "r": 102,
    "g": 60,
    "b": 204
  },
  "hsl": {
    "h": 257.5,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.49334,
    "c": 0.20822,
    "h": 289.9
  },
  "luminance": 0.10416
}

Semantic roles & 50–950 ramp

primary
#663CCC
secondary
#BFD192
accent
#E246B4
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #663CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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