#663BAE#663BAE

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

Color values

HEX#663BAE
RGBrgb(102, 59, 174)
HSLhsl(262, 49%, 46%)
HSVhsv(262, 66%, 68%)
CMYKcmyk(41.4%, 66.1%, 0%, 31.8%)
CIE-LABlab(36.00, 44.13, -54.77)
CIE-LCHlch(36.00, 70.34, 308.86°)
OKLaboklab(46.75% 0.0768 -0.1563)
OKLCHoklch(46.75% 0.174 296.2)
XYZxyz(14.6814, 9.0084, 41.0015)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663BAE #83AE3B
analogous
#3B49AE #663BAE #9F3BAE
triadic
#663BAE #AE663B #3BAE66
tetradic
#663BAE #AE3B49 #83AE3B #3BAE9F
square
#663BAE #AE3B49 #83AE3B #3BAE9F
split-complementary
#663BAE #AE9F3B #49AE3B
monochromatic
#301C53 #4B2C80 #663BAE #865EC8 #A88CD8

Accessibility & contrast

On white

7.50
#663BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#663BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663BAE
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663BAE#FFFFFF#000000##FFFFFF
##663BAE1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B2
Deuteranopia (green-blind)
#0053AC
Tritanopia (blue-blind)
#54566F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #663bae;
/* rgb */ color: rgb(102, 59, 174);
/* oklch */ color: oklch(46.7% 0.174 296.2);
Tailwind
colors: {
  custom: {
    50: '#9774c7',
    500: '#663bae',
    950: '#000000',
  },
}
SCSS
$custom: #663bae;
$custom-light: #9774c7;
$custom-dark: #000000;
JSON
{
  "hex": "#663bae",
  "rgb": {
    "r": 102,
    "g": 59,
    "b": 174
  },
  "hsl": {
    "h": 262.435,
    "s": 49.356,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46746,
    "c": 0.17414,
    "h": 296.2
  },
  "luminance": 0.09009
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #663BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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