#663EAB#663EAB

#663EAB is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.0% C 0.166 H 296.3°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#663EAB
RGBrgb(102, 62, 171)
HSLhsl(262, 47%, 46%)
HSVhsv(262, 64%, 67%)
CMYKcmyk(40.4%, 63.7%, 0%, 32.9%)
CIE-LABlab(36.39, 41.68, -52.36)
CIE-LCHlch(36.39, 66.92, 308.52°)
OKLaboklab(46.96% 0.0737 -0.1492)
OKLCHoklch(46.96% 0.166 296.3)
XYZxyz(14.5509, 9.2100, 39.5313)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663EAB #83AB3E
analogous
#3E4DAB #663EAB #9C3EAB
triadic
#663EAB #AB663E #3EAB66
tetradic
#663EAB #AB3E4D #83AB3E #3EAB9C
square
#663EAB #AB3E4D #83AB3E #3EAB9C
split-complementary
#663EAB #AB9C3E #4DAB3E
monochromatic
#301D51 #4B2E7E #663EAB #8661C6 #A88ED6

Accessibility & contrast

On white

7.39
#663EAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#663EAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663EAB
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663EAB#FFFFFF#000000##FFFFFF
##663EAB1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AE
Deuteranopia (green-blind)
#0054A9
Tritanopia (blue-blind)
#55576F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #663eab;
/* rgb */ color: rgb(102, 62, 171);
/* oklch */ color: oklch(47.0% 0.166 296.3);
Tailwind
colors: {
  custom: {
    50: '#9775c5',
    500: '#663eab',
    950: '#000000',
  },
}
SCSS
$custom: #663eab;
$custom-light: #9775c5;
$custom-dark: #000000;
JSON
{
  "hex": "#663eab",
  "rgb": {
    "r": 102,
    "g": 62,
    "b": 171
  },
  "hsl": {
    "h": 262.018,
    "s": 46.781,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46955,
    "c": 0.16642,
    "h": 296.3
  },
  "luminance": 0.0921
}

Semantic roles & 50–950 ramp

primary
#663EAB
secondary
#AAC184
accent
#D651A6
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #663EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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