#663CC5#663CC5

#663CC5 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 48.7% C 0.200 H 291.2°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#663CC5
RGBrgb(102, 60, 197)
HSLhsl(258, 54%, 50%)
HSVhsv(258, 70%, 77%)
CMYKcmyk(48.2%, 69.5%, 0%, 22.7%)
CIE-LABlab(38.00, 49.90, -65.07)
CIE-LCHlch(38.00, 82.00, 307.48°)
OKLaboklab(48.74% 0.0723 -0.1866)
OKLCHoklch(48.74% 0.2 291.2)
XYZxyz(17.1705, 10.0871, 53.8548)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663CC5 #9BC53C
analogous
#3C56C5 #663CC5 #AA3CC5
triadic
#663CC5 #C5663C #3CC566
tetradic
#663CC5 #C53C56 #9BC53C #3CC5AA
square
#663CC5 #C53C56 #9BC53C #3CC5AA
split-complementary
#663CC5 #C5AA3C #56C53C
monochromatic
#351F68 #4D2D97 #663CC5 #8B6BD3 #B09AE1

Accessibility & contrast

On white

6.96
#663CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#663CC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663CC5
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663CC5#FFFFFF#000000##FFFFFF
##663CC51.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC9
Deuteranopia (green-blind)
#0056C2
Tritanopia (blue-blind)
#475F7C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #663cc5;
/* rgb */ color: rgb(102, 60, 197);
/* oklch */ color: oklch(48.7% 0.200 291.2);
Tailwind
colors: {
  custom: {
    50: '#9a75d8',
    500: '#663cc5',
    950: '#000000',
  },
}
SCSS
$custom: #663cc5;
$custom-light: #9a75d8;
$custom-dark: #000000;
JSON
{
  "hex": "#663cc5",
  "rgb": {
    "r": 102,
    "g": 60,
    "b": 197
  },
  "hsl": {
    "h": 258.394,
    "s": 54.15,
    "l": 50.392
  },
  "oklch": {
    "l": 0.48742,
    "c": 0.2001,
    "h": 291.2
  },
  "luminance": 0.10088
}

Semantic roles & 50–950 ramp

primary
#663CC5
secondary
#BACD90
accent
#DE4AB0
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #663CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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