#663FA7#663FA7

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

Color values

HEX#663FA7
RGBrgb(102, 63, 167)
HSLhsl(263, 45%, 45%)
HSVhsv(263, 62%, 65%)
CMYKcmyk(38.9%, 62.3%, 0%, 34.5%)
CIE-LABlab(36.31, 40.03, -50.09)
CIE-LCHlch(36.31, 64.12, 308.63°)
OKLaboklab(46.81% 0.0728 -0.1425)
OKLCHoklch(46.81% 0.16 297.1)
XYZxyz(14.2303, 9.1696, 37.5719)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663FA7 #80A73F
analogous
#3F4CA7 #663FA7 #9A3FA7
triadic
#663FA7 #A7663F #3FA766
tetradic
#663FA7 #A73F4C #80A73F #3FA79A
square
#663FA7 #A73F4C #80A73F #3FA79A
split-complementary
#663FA7 #A79A3F #4CA73F
monochromatic
#301D4E #4B2E7B #663FA7 #8560C3 #A78DD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##663FA7#FFFFFF#000000##FFFFFF
##663FA71.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)
#0056AA
Deuteranopia (green-blind)
#0B54A5
Tritanopia (blue-blind)
#56566D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #663fa7;
/* rgb */ color: rgb(102, 63, 167);
/* oklch */ color: oklch(46.8% 0.160 297.1);
Tailwind
colors: {
  custom: {
    50: '#9676c2',
    500: '#663fa7',
    950: '#000000',
  },
}
SCSS
$custom: #663fa7;
$custom-light: #9676c2;
$custom-dark: #000000;
JSON
{
  "hex": "#663fa7",
  "rgb": {
    "r": 102,
    "g": 63,
    "b": 167
  },
  "hsl": {
    "h": 262.5,
    "s": 45.217,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46808,
    "c": 0.16007,
    "h": 297.1
  },
  "luminance": 0.0917
}

Semantic roles & 50–950 ramp

primary
#663FA7
secondary
#A8BF83
accent
#D553A4
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #663FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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