#663FA8#663FA8

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

Color values

HEX#663FA8
RGBrgb(102, 63, 168)
HSLhsl(262, 45%, 45%)
HSVhsv(262, 63%, 66%)
CMYKcmyk(39.3%, 62.5%, 0%, 34.1%)
CIE-LABlab(36.38, 40.30, -50.58)
CIE-LCHlch(36.38, 64.67, 308.55°)
OKLaboklab(46.88% 0.0728 -0.144)
OKLCHoklch(46.88% 0.161 296.8)
XYZxyz(14.3231, 9.2067, 38.0606)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663FA8 #81A83F
analogous
#3F4CA8 #663FA8 #9B3FA8
triadic
#663FA8 #A8663F #3FA866
tetradic
#663FA8 #A83F4C #81A83F #3FA89B
square
#663FA8 #A83F4C #81A83F #3FA89B
split-complementary
#663FA8 #A89B3F #4CA83F
monochromatic
#301E4F #4B2E7B #663FA8 #8561C4 #A88DD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##663FA8#FFFFFF#000000##FFFFFF
##663FA81.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)
#0056AB
Deuteranopia (green-blind)
#0854A6
Tritanopia (blue-blind)
#56566D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #663fa8;
/* rgb */ color: rgb(102, 63, 168);
/* oklch */ color: oklch(46.9% 0.161 296.8);
Tailwind
colors: {
  custom: {
    50: '#9676c3',
    500: '#663fa8',
    950: '#000000',
  },
}
SCSS
$custom: #663fa8;
$custom-light: #9676c3;
$custom-dark: #000000;
JSON
{
  "hex": "#663fa8",
  "rgb": {
    "r": 102,
    "g": 63,
    "b": 168
  },
  "hsl": {
    "h": 262.286,
    "s": 45.455,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46882,
    "c": 0.16132,
    "h": 296.8
  },
  "luminance": 0.09207
}

Semantic roles & 50–950 ramp

primary
#663FA8
secondary
#A9BF84
accent
#D553A5
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #663FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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