#663BAA#663BAA

#663BAA is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.4% C 0.169 H 297.1°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#663BAA
RGBrgb(102, 59, 170)
HSLhsl(263, 48%, 45%)
HSVhsv(263, 65%, 67%)
CMYKcmyk(40%, 65.3%, 0%, 33.3%)
CIE-LABlab(35.70, 43.06, -52.87)
CIE-LCHlch(35.70, 68.18, 309.16°)
OKLaboklab(46.44% 0.0772 -0.1507)
OKLCHoklch(46.44% 0.169 297.1)
XYZxyz(14.2973, 8.8547, 38.9783)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663BAA #7FAA3B
analogous
#3B48AA #663BAA #9E3BAA
triadic
#663BAA #AA663B #3BAA66
tetradic
#663BAA #AA3B48 #7FAA3B #3BAA9E
square
#663BAA #AA3B48 #7FAA3B #3BAA9E
split-complementary
#663BAA #AA9E3B #48AA3B
monochromatic
#2F1B4F #4B2B7D #663BAA #855CC6 #A789D6

Accessibility & contrast

On white

7.58
#663BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#663BAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663BAA
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663BAA#FFFFFF#000000##FFFFFF
##663BAA1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AD
Deuteranopia (green-blind)
#0053A8
Tritanopia (blue-blind)
#55546D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #663baa;
/* rgb */ color: rgb(102, 59, 170);
/* oklch */ color: oklch(46.4% 0.169 297.1);
Tailwind
colors: {
  custom: {
    50: '#9773c4',
    500: '#663baa',
    950: '#000000',
  },
}
SCSS
$custom: #663baa;
$custom-light: #9773c4;
$custom-dark: #000000;
JSON
{
  "hex": "#663baa",
  "rgb": {
    "r": 102,
    "g": 59,
    "b": 170
  },
  "hsl": {
    "h": 263.243,
    "s": 48.472,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46438,
    "c": 0.16933,
    "h": 297.1
  },
  "luminance": 0.08855
}

Semantic roles & 50–950 ramp

primary
#663BAA
secondary
#A8C080
accent
#D850A3
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #663BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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