#663BAD#663BAD

#663BAD is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.7% C 0.173 H 296.4°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#663BAD
RGBrgb(102, 59, 173)
HSLhsl(263, 49%, 45%)
HSVhsv(263, 66%, 68%)
CMYKcmyk(41%, 65.9%, 0%, 32.2%)
CIE-LABlab(35.93, 43.86, -54.30)
CIE-LCHlch(35.93, 69.80, 308.93°)
OKLaboklab(46.67% 0.0769 -0.1549)
OKLCHoklch(46.67% 0.173 296.4)
XYZxyz(14.5843, 8.9696, 40.4900)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663BAD #82AD3B
analogous
#3B49AD #663BAD #9F3BAD
triadic
#663BAD #AD663B #3BAD66
tetradic
#663BAD #AD3B49 #82AD3B #3BAD9F
square
#663BAD #AD3B49 #82AD3B #3BAD9F
split-complementary
#663BAD #AD9F3B #49AD3B
monochromatic
#301C52 #4B2B7F #663BAD #865DC8 #A88BD7

Accessibility & contrast

On white

7.52
#663BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#663BAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663BAD
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663BAD#FFFFFF#000000##FFFFFF
##663BAD1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B1
Deuteranopia (green-blind)
#0053AB
Tritanopia (blue-blind)
#54566F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #663bad;
/* rgb */ color: rgb(102, 59, 173);
/* oklch */ color: oklch(46.7% 0.173 296.4);
Tailwind
colors: {
  custom: {
    50: '#9774c6',
    500: '#663bad',
    950: '#000000',
  },
}
SCSS
$custom: #663bad;
$custom-light: #9774c6;
$custom-dark: #000000;
JSON
{
  "hex": "#663bad",
  "rgb": {
    "r": 102,
    "g": 59,
    "b": 173
  },
  "hsl": {
    "h": 262.632,
    "s": 49.138,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46669,
    "c": 0.17294,
    "h": 296.4
  },
  "luminance": 0.0897
}

Semantic roles & 50–950 ramp

primary
#663BAD
secondary
#AAC282
accent
#D94FA5
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #663BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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