#663EAA#663EAA

#663EAA is a mid, vivid violet. Relative luminance 0.092; OKLCH L 46.9% C 0.165 H 296.5°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#663EAA
RGBrgb(102, 62, 170)
HSLhsl(262, 47%, 45%)
HSVhsv(262, 64%, 67%)
CMYKcmyk(40%, 63.5%, 0%, 33.3%)
CIE-LABlab(36.31, 41.41, -51.88)
CIE-LCHlch(36.31, 66.38, 308.59°)
OKLaboklab(46.88% 0.0738 -0.1478)
OKLCHoklch(46.88% 0.165 296.5)
XYZxyz(14.4559, 9.1720, 39.0312)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663EAA #82AA3E
analogous
#3E4CAA #663EAA #9C3EAA
triadic
#663EAA #AA663E #3EAA66
tetradic
#663EAA #AA3E4C #82AA3E #3EAA9C
square
#663EAA #AA3E4C #82AA3E #3EAA9C
split-complementary
#663EAA #AA9C3E #4CAA3E
monochromatic
#301D50 #4B2E7D #663EAA #8660C5 #A88DD5

Accessibility & contrast

On white

7.41
#663EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#663EAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663EAA
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663EAA#FFFFFF#000000##FFFFFF
##663EAA1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AD
Deuteranopia (green-blind)
#0054A8
Tritanopia (blue-blind)
#55566E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #663eaa;
/* rgb */ color: rgb(102, 62, 170);
/* oklch */ color: oklch(46.9% 0.165 296.5);
Tailwind
colors: {
  custom: {
    50: '#9775c4',
    500: '#663eaa',
    950: '#000000',
  },
}
SCSS
$custom: #663eaa;
$custom-light: #9775c4;
$custom-dark: #000000;
JSON
{
  "hex": "#663eaa",
  "rgb": {
    "r": 102,
    "g": 62,
    "b": 170
  },
  "hsl": {
    "h": 262.222,
    "s": 46.552,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46879,
    "c": 0.1652,
    "h": 296.5
  },
  "luminance": 0.09172
}

Semantic roles & 50–950 ramp

primary
#663EAA
secondary
#AAC084
accent
#D652A5
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #663EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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