#663CB2#663CB2

#663CB2 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.2% C 0.178 H 295.1°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#663CB2
RGBrgb(102, 60, 178)
HSLhsl(261, 50%, 47%)
HSVhsv(261, 66%, 70%)
CMYKcmyk(42.7%, 66.3%, 0%, 30.2%)
CIE-LABlab(36.50, 44.68, -56.33)
CIE-LCHlch(36.50, 71.90, 308.42°)
OKLaboklab(47.2% 0.0752 -0.1609)
OKLCHoklch(47.2% 0.178 295.1)
XYZxyz(15.1291, 9.2705, 43.1031)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663CB2 #88B23C
analogous
#3C4DB2 #663CB2 #A13CB2
triadic
#663CB2 #B2663C #3CB266
tetradic
#663CB2 #B23C4D #88B23C #3CB2A1
square
#663CB2 #B23C4D #88B23C #3CB2A1
split-complementary
#663CB2 #B2A13C #4DB23C
monochromatic
#321D56 #4C2D84 #663CB2 #8761CA #AA8FD9

Accessibility & contrast

On white

7.36
#663CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #663CB2
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663CB2#FFFFFF#000000##FFFFFF
##663CB21.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#525872
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #663cb2;
/* rgb */ color: rgb(102, 60, 178);
/* oklch */ color: oklch(47.2% 0.178 295.1);
Tailwind
colors: {
  custom: {
    50: '#9874ca',
    500: '#663cb2',
    950: '#000000',
  },
}
SCSS
$custom: #663cb2;
$custom-light: #9874ca;
$custom-dark: #000000;
JSON
{
  "hex": "#663cb2",
  "rgb": {
    "r": 102,
    "g": 60,
    "b": 178
  },
  "hsl": {
    "h": 261.356,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47201,
    "c": 0.17761,
    "h": 295.1
  },
  "luminance": 0.09271
}

Semantic roles & 50–950 ramp

primary
#663CB2
secondary
#AEC486
accent
#D94FA8
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #663CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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