#663C97#663C97

#663C97 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.2% C 0.145 H 302.2°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#663C97
RGBrgb(102, 60, 151)
HSLhsl(268, 43%, 41%)
HSVhsv(268, 60%, 59%)
CMYKcmyk(32.5%, 60.3%, 0%, 40.8%)
CIE-LABlab(34.58, 37.46, -43.23)
CIE-LCHlch(34.58, 57.20, 310.91°)
OKLaboklab(45.2% 0.0771 -0.1224)
OKLCHoklch(45.2% 0.145 302.2)
XYZxyz(12.6800, 8.2908, 30.2044)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663C97 #6D973C
analogous
#3C4097 #663C97 #943C97
triadic
#663C97 #97663C #3C9766
tetradic
#663C97 #973C40 #6D973C #3C9794
square
#663C97 #973C40 #6D973C #3C9794
split-complementary
#663C97 #97943C #40973C
monochromatic
#2B193F #482B6B #663C97 #8455BB #A481CD

Accessibility & contrast

On white

7.90
#663C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#663C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663C97
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663C97#FFFFFF#000000##FFFFFF
##663C971.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E519A
Deuteranopia (green-blind)
#235195
Tritanopia (blue-blind)
#5C4F63
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #663c97;
/* rgb */ color: rgb(102, 60, 151);
/* oklch */ color: oklch(45.2% 0.145 302.2);
Tailwind
colors: {
  custom: {
    50: '#9574b6',
    500: '#663c97',
    950: '#000000',
  },
}
SCSS
$custom: #663c97;
$custom-light: #9574b6;
$custom-dark: #000000;
JSON
{
  "hex": "#663c97",
  "rgb": {
    "r": 102,
    "g": 60,
    "b": 151
  },
  "hsl": {
    "h": 267.692,
    "s": 43.128,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45201,
    "c": 0.14465,
    "h": 302.2
  },
  "luminance": 0.08291
}

Semantic roles & 50–950 ramp

primary
#663C97
secondary
#9AB778
accent
#D35599
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #663C97

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

Preview Lab → · Contrast checker → · Palette generator →

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