#663CB4#663CB4

#663CB4 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.4% C 0.180 H 294.6°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#663CB4
RGBrgb(102, 60, 180)
HSLhsl(261, 50%, 47%)
HSVhsv(261, 67%, 71%)
CMYKcmyk(43.3%, 66.7%, 0%, 29.4%)
CIE-LABlab(36.65, 45.23, -57.27)
CIE-LCHlch(36.65, 72.98, 308.30°)
OKLaboklab(47.36% 0.075 -0.1637)
OKLCHoklch(47.36% 0.18 294.6)
XYZxyz(15.3314, 9.3514, 44.1684)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663CB4 #8AB43C
analogous
#3C4EB4 #663CB4 #A23CB4
triadic
#663CB4 #B4663C #3CB466
tetradic
#663CB4 #B43C4E #8AB43C #3CB4A2
square
#663CB4 #B43C4E #8AB43C #3CB4A2
split-complementary
#663CB4 #B4A23C #4EB43C
monochromatic
#321D58 #4C2D86 #663CB4 #8762CB #AA90DA

Accessibility & contrast

On white

7.32
#663CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#663CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663CB4
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663CB4#FFFFFF#000000##FFFFFF
##663CB41.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B8
Deuteranopia (green-blind)
#0054B2
Tritanopia (blue-blind)
#515973
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #663cb4;
/* rgb */ color: rgb(102, 60, 180);
/* oklch */ color: oklch(47.4% 0.180 294.6);
Tailwind
colors: {
  custom: {
    50: '#9874cb',
    500: '#663cb4',
    950: '#000000',
  },
}
SCSS
$custom: #663cb4;
$custom-light: #9874cb;
$custom-dark: #000000;
JSON
{
  "hex": "#663cb4",
  "rgb": {
    "r": 102,
    "g": 60,
    "b": 180
  },
  "hsl": {
    "h": 261,
    "s": 50,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47358,
    "c": 0.18001,
    "h": 294.6
  },
  "luminance": 0.09352
}

Semantic roles & 50–950 ramp

primary
#663CB4
secondary
#AFC587
accent
#DA4EA9
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #663CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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