#663CB1#663CB1

#663CB1 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.1% C 0.176 H 295.3°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#663CB1
RGBrgb(102, 60, 177)
HSLhsl(262, 49%, 46%)
HSVhsv(262, 66%, 69%)
CMYKcmyk(42.4%, 66.1%, 0%, 30.6%)
CIE-LABlab(36.42, 44.41, -55.86)
CIE-LCHlch(36.42, 71.37, 308.48°)
OKLaboklab(47.12% 0.0753 -0.1595)
OKLCHoklch(47.12% 0.176 295.3)
XYZxyz(15.0291, 9.2305, 42.5763)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663CB1 #87B13C
analogous
#3C4DB1 #663CB1 #A13CB1
triadic
#663CB1 #B1663C #3CB166
tetradic
#663CB1 #B13C4D #87B13C #3CB1A1
square
#663CB1 #B13C4D #87B13C #3CB1A1
split-complementary
#663CB1 #B1A13C #4DB13C
monochromatic
#311D56 #4C2D83 #663CB1 #8661C9 #A98FD9

Accessibility & contrast

On white

7.38
#663CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#663CB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663CB1
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663CB1#FFFFFF#000000##FFFFFF
##663CB11.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B5
Deuteranopia (green-blind)
#0054AF
Tritanopia (blue-blind)
#525871
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #663cb1;
/* rgb */ color: rgb(102, 60, 177);
/* oklch */ color: oklch(47.1% 0.176 295.3);
Tailwind
colors: {
  custom: {
    50: '#9874c9',
    500: '#663cb1',
    950: '#000000',
  },
}
SCSS
$custom: #663cb1;
$custom-light: #9874c9;
$custom-dark: #000000;
JSON
{
  "hex": "#663cb1",
  "rgb": {
    "r": 102,
    "g": 60,
    "b": 177
  },
  "hsl": {
    "h": 261.538,
    "s": 49.367,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47122,
    "c": 0.17642,
    "h": 295.3
  },
  "luminance": 0.09231
}

Semantic roles & 50–950 ramp

primary
#663CB1
secondary
#ADC485
accent
#D94FA7
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #663CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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