#663CCD#663CCD

#663CCD is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.4% C 0.209 H 289.8°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#663CCD
RGBrgb(102, 60, 205)
HSLhsl(257, 59%, 52%)
HSVhsv(257, 71%, 80%)
CMYKcmyk(50.2%, 70.7%, 0%, 19.6%)
CIE-LABlab(38.66, 52.11, -68.63)
CIE-LCHlch(38.66, 86.18, 307.21°)
OKLaboklab(49.42% 0.0708 -0.197)
OKLCHoklch(49.42% 0.209 289.8)
XYZxyz(18.1116, 10.4635, 58.8111)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663CCD #A3CD3C
analogous
#3C5BCD #663CCD #AE3CCD
triadic
#663CCD #CD663C #3CCD66
tetradic
#663CCD #CD3C5B #A3CD3C #3CCDAE
square
#663CCD #CD3C5B #A3CD3C #3CCDAE
split-complementary
#663CCD #CDAE3C #5BCD3C
monochromatic
#361D71 #4D2AA2 #663CCD #8C6DD9 #B29DE6

Accessibility & contrast

On white

6.79
#663CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#663CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663CCD
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663CCD#FFFFFF#000000##FFFFFF
##663CCD1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED1
Deuteranopia (green-blind)
#0058CA
Tritanopia (blue-blind)
#426280
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #663ccd;
/* rgb */ color: rgb(102, 60, 205);
/* oklch */ color: oklch(49.4% 0.209 289.8);
Tailwind
colors: {
  custom: {
    50: '#9b75dd',
    500: '#663ccd',
    950: '#000000',
  },
}
SCSS
$custom: #663ccd;
$custom-light: #9b75dd;
$custom-dark: #000000;
JSON
{
  "hex": "#663ccd",
  "rgb": {
    "r": 102,
    "g": 60,
    "b": 205
  },
  "hsl": {
    "h": 257.379,
    "s": 59.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.4942,
    "c": 0.20937,
    "h": 289.8
  },
  "luminance": 0.10464
}

Semantic roles & 50–950 ramp

primary
#663CCD
secondary
#C0D293
accent
#E245B5
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #663CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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