#663CC1#663CC1

#663CC1 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.4% C 0.195 H 291.9°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#663CC1
RGBrgb(102, 60, 193)
HSLhsl(259, 53%, 50%)
HSVhsv(259, 69%, 76%)
CMYKcmyk(47.2%, 68.9%, 0%, 24.3%)
CIE-LABlab(37.67, 48.80, -63.26)
CIE-LCHlch(37.67, 79.89, 307.65°)
OKLaboklab(48.41% 0.073 -0.1813)
OKLCHoklch(48.41% 0.195 291.9)
XYZxyz(16.7183, 9.9062, 51.4729)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663CC1 #97C13C
analogous
#3C55C1 #663CC1 #A83CC1
triadic
#663CC1 #C1663C #3CC166
tetradic
#663CC1 #C13C55 #97C13C #3CC1A8
square
#663CC1 #C13C55 #97C13C #3CC1A8
split-complementary
#663CC1 #C1A83C #55C13C
monochromatic
#351F64 #4D2D92 #663CC1 #8A6AD1 #AF98DF

Accessibility & contrast

On white

7.04
#663CC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#663CC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663CC1
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663CC1#FFFFFF#000000##FFFFFF
##663CC11.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC5
Deuteranopia (green-blind)
#0056BE
Tritanopia (blue-blind)
#4A5D7A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #663cc1;
/* rgb */ color: rgb(102, 60, 193);
/* oklch */ color: oklch(48.4% 0.195 291.9);
Tailwind
colors: {
  custom: {
    50: '#9975d5',
    500: '#663cc1',
    950: '#000000',
  },
}
SCSS
$custom: #663cc1;
$custom-light: #9975d5;
$custom-dark: #000000;
JSON
{
  "hex": "#663cc1",
  "rgb": {
    "r": 102,
    "g": 60,
    "b": 193
  },
  "hsl": {
    "h": 258.947,
    "s": 52.569,
    "l": 49.608
  },
  "oklch": {
    "l": 0.48409,
    "c": 0.19542,
    "h": 291.9
  },
  "luminance": 0.09907
}

Semantic roles & 50–950 ramp

primary
#663CC1
secondary
#B8CB8E
accent
#DC4CAE
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #663CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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