#663FA3#663FA3

#663FA3 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.5% C 0.155 H 298.1°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#663FA3
RGBrgb(102, 63, 163)
HSLhsl(263, 44%, 44%)
HSVhsv(263, 61%, 64%)
CMYKcmyk(37.4%, 61.3%, 0%, 36.1%)
CIE-LABlab(36.03, 38.95, -48.14)
CIE-LCHlch(36.03, 61.92, 308.97°)
OKLaboklab(46.52% 0.073 -0.1368)
OKLCHoklch(46.52% 0.155 298.1)
XYZxyz(13.8662, 9.0240, 35.6545)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663FA3 #7CA33F
analogous
#3F4AA3 #663FA3 #983FA3
triadic
#663FA3 #A3663F #3FA366
tetradic
#663FA3 #A33F4A #7CA33F #3FA398
square
#663FA3 #A33F4A #7CA33F #3FA398
split-complementary
#663FA3 #A3983F #4AA33F
monochromatic
#2F1D4B #4A2E77 #663FA3 #855EC1 #A68AD2

Accessibility & contrast

On white

7.49
#663FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #663FA3
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663FA3#FFFFFF#000000##FFFFFF
##663FA31.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A6
Deuteranopia (green-blind)
#1654A1
Tritanopia (blue-blind)
#58556B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #663fa3;
/* rgb */ color: rgb(102, 63, 163);
/* oklch */ color: oklch(46.5% 0.155 298.1);
Tailwind
colors: {
  custom: {
    50: '#9676bf',
    500: '#663fa3',
    950: '#000000',
  },
}
SCSS
$custom: #663fa3;
$custom-light: #9676bf;
$custom-dark: #000000;
JSON
{
  "hex": "#663fa3",
  "rgb": {
    "r": 102,
    "g": 63,
    "b": 163
  },
  "hsl": {
    "h": 263.4,
    "s": 44.248,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46517,
    "c": 0.15509,
    "h": 298.1
  },
  "luminance": 0.09024
}

Semantic roles & 50–950 ramp

primary
#663FA3
secondary
#A5BD81
accent
#D454A2
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #663FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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