#663CB6#663CB6

#663CB6 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.5% C 0.182 H 294.2°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#663CB6
RGBrgb(102, 60, 182)
HSLhsl(261, 50%, 47%)
HSVhsv(261, 67%, 71%)
CMYKcmyk(44%, 67%, 0%, 28.6%)
CIE-LABlab(36.81, 45.77, -58.21)
CIE-LCHlch(36.81, 74.05, 308.18°)
OKLaboklab(47.52% 0.0747 -0.1664)
OKLCHoklch(47.52% 0.182 294.2)
XYZxyz(15.5366, 9.4335, 45.2492)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663CB6 #8CB63C
analogous
#3C4FB6 #663CB6 #A33CB6
triadic
#663CB6 #B6663C #3CB666
tetradic
#663CB6 #B63C4F #8CB63C #3CB6A3
square
#663CB6 #B63C4F #8CB63C #3CB6A3
split-complementary
#663CB6 #B6A33C #4FB63C
monochromatic
#321E5A #4C2D88 #663CB6 #8763CC #AB91DB

Accessibility & contrast

On white

7.27
#663CB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#663CB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663CB6
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663CB6#FFFFFF#000000##FFFFFF
##663CB61.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BA
Deuteranopia (green-blind)
#0055B4
Tritanopia (blue-blind)
#505974
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #663cb6;
/* rgb */ color: rgb(102, 60, 182);
/* oklch */ color: oklch(47.5% 0.182 294.2);
Tailwind
colors: {
  custom: {
    50: '#9874cd',
    500: '#663cb6',
    950: '#000000',
  },
}
SCSS
$custom: #663cb6;
$custom-light: #9874cd;
$custom-dark: #000000;
JSON
{
  "hex": "#663cb6",
  "rgb": {
    "r": 102,
    "g": 60,
    "b": 182
  },
  "hsl": {
    "h": 260.656,
    "s": 50.413,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47517,
    "c": 0.1824,
    "h": 294.2
  },
  "luminance": 0.09434
}

Semantic roles & 50–950 ramp

primary
#663CB6
secondary
#B1C688
accent
#DA4EAA
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #663CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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