#663CB9#663CB9

#663CB9 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.8% C 0.186 H 293.5°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#663CB9
RGBrgb(102, 60, 185)
HSLhsl(260, 51%, 48%)
HSVhsv(260, 68%, 73%)
CMYKcmyk(44.9%, 67.6%, 0%, 27.5%)
CIE-LABlab(37.04, 46.60, -59.60)
CIE-LCHlch(37.04, 75.65, 308.02°)
OKLaboklab(47.76% 0.0743 -0.1705)
OKLCHoklch(47.76% 0.186 293.5)
XYZxyz(15.8499, 9.5588, 46.8995)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663CB9 #8FB93C
analogous
#3C50B9 #663CB9 #A43CB9
triadic
#663CB9 #B9663C #3CB966
tetradic
#663CB9 #B93C50 #8FB93C #3CB9A4
square
#663CB9 #B93C50 #8FB93C #3CB9A4
split-complementary
#663CB9 #B9A43C #50B93C
monochromatic
#331E5D #4D2D8B #663CB9 #8865CD #AC93DC

Accessibility & contrast

On white

7.21
#663CB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#663CB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663CB9
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663CB9#FFFFFF#000000##FFFFFF
##663CB91.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BD
Deuteranopia (green-blind)
#0055B6
Tritanopia (blue-blind)
#4E5A75
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #663cb9;
/* rgb */ color: rgb(102, 60, 185);
/* oklch */ color: oklch(47.8% 0.186 293.5);
Tailwind
colors: {
  custom: {
    50: '#9875cf',
    500: '#663cb9',
    950: '#000000',
  },
}
SCSS
$custom: #663cb9;
$custom-light: #9875cf;
$custom-dark: #000000;
JSON
{
  "hex": "#663cb9",
  "rgb": {
    "r": 102,
    "g": 60,
    "b": 185
  },
  "hsl": {
    "h": 260.16,
    "s": 51.02,
    "l": 48.039
  },
  "oklch": {
    "l": 0.47757,
    "c": 0.18597,
    "h": 293.5
  },
  "luminance": 0.09559
}

Semantic roles & 50–950 ramp

primary
#663CB9
secondary
#B3C789
accent
#DA4DAB
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #663CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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