#663CBD#663CBD

#663CBD is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.1% C 0.191 H 292.7°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#663CBD
RGBrgb(102, 60, 189)
HSLhsl(260, 52%, 49%)
HSVhsv(260, 68%, 74%)
CMYKcmyk(46%, 68.3%, 0%, 25.9%)
CIE-LABlab(37.35, 47.70, -61.44)
CIE-LCHlch(37.35, 77.78, 307.82°)
OKLaboklab(48.08% 0.0737 -0.1759)
OKLCHoklch(48.08% 0.191 292.7)
XYZxyz(16.2781, 9.7301, 49.1547)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663CBD #93BD3C
analogous
#3C53BD #663CBD #A73CBD
triadic
#663CBD #BD663C #3CBD66
tetradic
#663CBD #BD3C53 #93BD3C #3CBDA7
square
#663CBD #BD3C53 #93BD3C #3CBDA7
split-complementary
#663CBD #BDA73C #53BD3C
monochromatic
#341F60 #4D2D8F #663CBD #8967CF #AD96DE

Accessibility & contrast

On white

7.13
#663CBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#663CBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663CBD
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663CBD#FFFFFF#000000##FFFFFF
##663CBD1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC1
Deuteranopia (green-blind)
#0055BA
Tritanopia (blue-blind)
#4C5C78
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #663cbd;
/* rgb */ color: rgb(102, 60, 189);
/* oklch */ color: oklch(48.1% 0.191 292.7);
Tailwind
colors: {
  custom: {
    50: '#9975d2',
    500: '#663cbd',
    950: '#000000',
  },
}
SCSS
$custom: #663cbd;
$custom-light: #9975d2;
$custom-dark: #000000;
JSON
{
  "hex": "#663cbd",
  "rgb": {
    "r": 102,
    "g": 60,
    "b": 189
  },
  "hsl": {
    "h": 259.535,
    "s": 51.807,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48081,
    "c": 0.1907,
    "h": 292.7
  },
  "luminance": 0.09731
}

Semantic roles & 50–950 ramp

primary
#663CBD
secondary
#B5C98C
accent
#DB4DAD
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #663CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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