#663CB7#663CB7

#663CB7 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.6% C 0.184 H 294.0°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#663CB7
RGBrgb(102, 60, 183)
HSLhsl(260, 51%, 48%)
HSVhsv(260, 67%, 72%)
CMYKcmyk(44.3%, 67.2%, 0%, 28.2%)
CIE-LABlab(36.88, 46.05, -58.67)
CIE-LCHlch(36.88, 74.58, 308.13°)
OKLaboklab(47.6% 0.0746 -0.1678)
OKLCHoklch(47.6% 0.184 294)
XYZxyz(15.6403, 9.4750, 45.7954)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663CB7 #8DB73C
analogous
#3C4FB7 #663CB7 #A33CB7
triadic
#663CB7 #B7663C #3CB766
tetradic
#663CB7 #B73C4F #8DB73C #3CB7A3
square
#663CB7 #B73C4F #8DB73C #3CB7A3
split-complementary
#663CB7 #B7A33C #4FB73C
monochromatic
#331E5B #4C2D89 #663CB7 #8864CC #AB92DB

Accessibility & contrast

On white

7.25
#663CB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #663CB7
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663CB7#FFFFFF#000000##FFFFFF
##663CB71.007.252.897.25
#FFFFFF7.251.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BB
Deuteranopia (green-blind)
#0055B4
Tritanopia (blue-blind)
#4F5A74
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #663cb7;
/* rgb */ color: rgb(102, 60, 183);
/* oklch */ color: oklch(47.6% 0.184 294.0);
Tailwind
colors: {
  custom: {
    50: '#9875cd',
    500: '#663cb7',
    950: '#000000',
  },
}
SCSS
$custom: #663cb7;
$custom-light: #9875cd;
$custom-dark: #000000;
JSON
{
  "hex": "#663cb7",
  "rgb": {
    "r": 102,
    "g": 60,
    "b": 183
  },
  "hsl": {
    "h": 260.488,
    "s": 50.617,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47596,
    "c": 0.18359,
    "h": 294
  },
  "luminance": 0.09475
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #663CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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