#663BBD#663BBD

#663BBD is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.9% C 0.192 H 292.9°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#663BBD
RGBrgb(102, 59, 189)
HSLhsl(260, 52%, 49%)
HSVhsv(260, 69%, 74%)
CMYKcmyk(46%, 68.8%, 0%, 25.9%)
CIE-LABlab(37.16, 48.22, -61.75)
CIE-LCHlch(37.16, 78.34, 307.99°)
OKLaboklab(47.95% 0.0747 -0.1768)
OKLCHoklch(47.95% 0.192 292.9)
XYZxyz(16.2262, 9.6263, 49.1374)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663BBD #92BD3B
analogous
#3B51BD #663BBD #A73BBD
triadic
#663BBD #BD663B #3BBD66
tetradic
#663BBD #BD3B51 #92BD3B #3BBDA7
square
#663BBD #BD3B51 #92BD3B #3BBDA7
split-complementary
#663BBD #BDA73B #51BD3B
monochromatic
#341E60 #4D2C8E #663BBD #8966CF #AD95DE

Accessibility & contrast

On white

7.18
#663BBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#663BBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663BBD
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663BBD#FFFFFF#000000##FFFFFF
##663BBD1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C1
Deuteranopia (green-blind)
#0055BA
Tritanopia (blue-blind)
#4C5B77
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #663bbd;
/* rgb */ color: rgb(102, 59, 189);
/* oklch */ color: oklch(47.9% 0.192 292.9);
Tailwind
colors: {
  custom: {
    50: '#9974d2',
    500: '#663bbd',
    950: '#000000',
  },
}
SCSS
$custom: #663bbd;
$custom-light: #9974d2;
$custom-dark: #000000;
JSON
{
  "hex": "#663bbd",
  "rgb": {
    "r": 102,
    "g": 59,
    "b": 189
  },
  "hsl": {
    "h": 259.846,
    "s": 52.419,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47945,
    "c": 0.19193,
    "h": 292.9
  },
  "luminance": 0.09627
}

Semantic roles & 50–950 ramp

primary
#663BBD
secondary
#B4C98B
accent
#DC4CAC
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #663BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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