#663FA0#663FA0

#663FA0 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.3% C 0.151 H 298.9°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#663FA0
RGBrgb(102, 63, 160)
HSLhsl(264, 43%, 44%)
HSVhsv(264, 61%, 63%)
CMYKcmyk(36.2%, 60.6%, 0%, 37.3%)
CIE-LABlab(35.83, 38.14, -46.67)
CIE-LCHlch(35.83, 60.27, 309.25°)
OKLaboklab(46.3% 0.0731 -0.1325)
OKLCHoklch(46.3% 0.151 298.9)
XYZxyz(13.6006, 8.9177, 34.2556)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663FA0 #79A03F
analogous
#3F48A0 #663FA0 #963FA0
triadic
#663FA0 #A0663F #3FA066
tetradic
#663FA0 #A03F48 #79A03F #3FA096
square
#663FA0 #A03F48 #79A03F #3FA096
split-complementary
#663FA0 #A0963F #48A03F
monochromatic
#2E1C48 #4A2E74 #663FA0 #845DBF #A689D0

Accessibility & contrast

On white

7.54
#663FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#663FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663FA0
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663FA0#FFFFFF#000000##FFFFFF
##663FA01.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0254A3
Deuteranopia (green-blind)
#1C539E
Tritanopia (blue-blind)
#595469
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #663fa0;
/* rgb */ color: rgb(102, 63, 160);
/* oklch */ color: oklch(46.3% 0.151 298.9);
Tailwind
colors: {
  custom: {
    50: '#9676bd',
    500: '#663fa0',
    950: '#000000',
  },
}
SCSS
$custom: #663fa0;
$custom-light: #9676bd;
$custom-dark: #000000;
JSON
{
  "hex": "#663fa0",
  "rgb": {
    "r": 102,
    "g": 63,
    "b": 160
  },
  "hsl": {
    "h": 264.124,
    "s": 43.498,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46302,
    "c": 0.15134,
    "h": 298.9
  },
  "luminance": 0.08918
}

Semantic roles & 50–950 ramp

primary
#663FA0
secondary
#A3BB80
accent
#D355A0
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #663FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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