#663CC7#663CC7

#663CC7 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 48.9% C 0.202 H 290.8°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#663CC7
RGBrgb(102, 60, 199)
HSLhsl(258, 55%, 51%)
HSVhsv(258, 70%, 78%)
CMYKcmyk(48.7%, 69.8%, 0%, 22%)
CIE-LABlab(38.16, 50.45, -65.97)
CIE-LCHlch(38.16, 83.05, 307.41°)
OKLaboklab(48.91% 0.072 -0.1892)
OKLCHoklch(48.91% 0.202 290.8)
XYZxyz(17.4012, 10.1793, 55.0697)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663CC7 #9DC73C
analogous
#3C58C7 #663CC7 #AB3CC7
triadic
#663CC7 #C7663C #3CC766
tetradic
#663CC7 #C73C58 #9DC73C #3CC7AB
square
#663CC7 #C73C58 #9DC73C #3CC7AB
split-complementary
#663CC7 #C7AB3C #58C73C
monochromatic
#351E6A #4D2C9A #663CC7 #8B6CD5 #B19BE2

Accessibility & contrast

On white

6.92
#663CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#663CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663CC7
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663CC7#FFFFFF#000000##FFFFFF
##663CC71.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCB
Deuteranopia (green-blind)
#0057C4
Tritanopia (blue-blind)
#46607D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #663cc7;
/* rgb */ color: rgb(102, 60, 199);
/* oklch */ color: oklch(48.9% 0.202 290.8);
Tailwind
colors: {
  custom: {
    50: '#9a75d9',
    500: '#663cc7',
    950: '#000000',
  },
}
SCSS
$custom: #663cc7;
$custom-light: #9a75d9;
$custom-dark: #000000;
JSON
{
  "hex": "#663cc7",
  "rgb": {
    "r": 102,
    "g": 60,
    "b": 199
  },
  "hsl": {
    "h": 258.129,
    "s": 55.378,
    "l": 50.784
  },
  "oklch": {
    "l": 0.4891,
    "c": 0.20242,
    "h": 290.8
  },
  "luminance": 0.1018
}

Semantic roles & 50–950 ramp

primary
#663CC7
secondary
#BCCE91
accent
#DF49B1
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #663CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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