#663CC6#663CC6

#663CC6 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 48.8% C 0.201 H 291.0°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#663CC6
RGBrgb(102, 60, 198)
HSLhsl(258, 55%, 51%)
HSVhsv(258, 70%, 78%)
CMYKcmyk(48.5%, 69.7%, 0%, 22.4%)
CIE-LABlab(38.08, 50.18, -65.52)
CIE-LCHlch(38.08, 82.52, 307.45°)
OKLaboklab(48.83% 0.0721 -0.1879)
OKLCHoklch(48.83% 0.201 291)
XYZxyz(17.2855, 10.1331, 54.4602)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663CC6 #9CC63C
analogous
#3C57C6 #663CC6 #AB3CC6
triadic
#663CC6 #C6663C #3CC666
tetradic
#663CC6 #C63C57 #9CC63C #3CC6AB
square
#663CC6 #C63C57 #9CC63C #3CC6AB
split-complementary
#663CC6 #C6AB3C #57C63C
monochromatic
#351F69 #4D2D98 #663CC6 #8B6BD4 #B09BE2

Accessibility & contrast

On white

6.94
#663CC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#663CC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663CC6
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663CC6#FFFFFF#000000##FFFFFF
##663CC61.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCA
Deuteranopia (green-blind)
#0057C3
Tritanopia (blue-blind)
#475F7D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #663cc6;
/* rgb */ color: rgb(102, 60, 198);
/* oklch */ color: oklch(48.8% 0.201 291.0);
Tailwind
colors: {
  custom: {
    50: '#9a75d8',
    500: '#663cc6',
    950: '#000000',
  },
}
SCSS
$custom: #663cc6;
$custom-light: #9a75d8;
$custom-dark: #000000;
JSON
{
  "hex": "#663cc6",
  "rgb": {
    "r": 102,
    "g": 60,
    "b": 198
  },
  "hsl": {
    "h": 258.261,
    "s": 54.762,
    "l": 50.588
  },
  "oklch": {
    "l": 0.48826,
    "c": 0.20125,
    "h": 291
  },
  "luminance": 0.10134
}

Semantic roles & 50–950 ramp

primary
#663CC6
secondary
#BBCE90
accent
#DE4AB1
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #663CC6

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

Preview Lab → · Contrast checker → · Palette generator →

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