#663EA9#663EA9

#663EA9 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.8% C 0.164 H 296.8°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#663EA9
RGBrgb(102, 62, 169)
HSLhsl(262, 46%, 45%)
HSVhsv(262, 63%, 66%)
CMYKcmyk(39.6%, 63.3%, 0%, 33.7%)
CIE-LABlab(36.24, 41.13, -51.40)
CIE-LCHlch(36.24, 65.83, 308.67°)
OKLaboklab(46.81% 0.0739 -0.1464)
OKLCHoklch(46.81% 0.164 296.8)
XYZxyz(14.3617, 9.1343, 38.5349)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663EA9 #81A93E
analogous
#3E4BA9 #663EA9 #9B3EA9
triadic
#663EA9 #A9663E #3EA966
tetradic
#663EA9 #A93E4B #81A93E #3EA99B
square
#663EA9 #A93E4B #81A93E #3EA99B
split-complementary
#663EA9 #A99B3E #4BA93E
monochromatic
#301D4F #4B2E7C #663EA9 #8560C5 #A88CD5

Accessibility & contrast

On white

7.43
#663EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #663EA9
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663EA9#FFFFFF#000000##FFFFFF
##663EA91.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AC
Deuteranopia (green-blind)
#0054A7
Tritanopia (blue-blind)
#56566E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #663ea9;
/* rgb */ color: rgb(102, 62, 169);
/* oklch */ color: oklch(46.8% 0.164 296.8);
Tailwind
colors: {
  custom: {
    50: '#9775c3',
    500: '#663ea9',
    950: '#000000',
  },
}
SCSS
$custom: #663ea9;
$custom-light: #9775c3;
$custom-dark: #000000;
JSON
{
  "hex": "#663ea9",
  "rgb": {
    "r": 102,
    "g": 62,
    "b": 169
  },
  "hsl": {
    "h": 262.43,
    "s": 46.32,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46805,
    "c": 0.16397,
    "h": 296.8
  },
  "luminance": 0.09135
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #663EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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