#663C95#663C95

#663C95 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.1% C 0.142 H 302.9°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#663C95
RGBrgb(102, 60, 149)
HSLhsl(268, 43%, 41%)
HSVhsv(268, 60%, 58%)
CMYKcmyk(31.5%, 59.7%, 0%, 41.6%)
CIE-LABlab(34.45, 36.94, -42.22)
CIE-LCHlch(34.45, 56.10, 311.18°)
OKLaboklab(45.06% 0.0772 -0.1194)
OKLCHoklch(45.06% 0.142 302.9)
XYZxyz(12.5189, 8.2264, 29.3563)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663C95 #6B953C
analogous
#3C3E95 #663C95 #923C95
triadic
#663C95 #95663C #3C9566
tetradic
#663C95 #953C3E #6B953C #3C9592
square
#663C95 #953C3E #6B953C #3C9592
split-complementary
#663C95 #95923C #3E953C
monochromatic
#2A193E #482A69 #663C95 #8454BA #A480CC

Accessibility & contrast

On white

7.94
#663C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#663C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663C95
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663C95#FFFFFF#000000##FFFFFF
##663C951.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125098
Deuteranopia (green-blind)
#265193
Tritanopia (blue-blind)
#5D4E62
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #663c95;
/* rgb */ color: rgb(102, 60, 149);
/* oklch */ color: oklch(45.1% 0.142 302.9);
Tailwind
colors: {
  custom: {
    50: '#9574b5',
    500: '#663c95',
    950: '#000000',
  },
}
SCSS
$custom: #663c95;
$custom-light: #9574b5;
$custom-dark: #000000;
JSON
{
  "hex": "#663c95",
  "rgb": {
    "r": 102,
    "g": 60,
    "b": 149
  },
  "hsl": {
    "h": 268.315,
    "s": 42.584,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45063,
    "c": 0.14218,
    "h": 302.9
  },
  "luminance": 0.08226
}

Semantic roles & 50–950 ramp

primary
#663C95
secondary
#98B677
accent
#D25597
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #663C95

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

Preview Lab → · Contrast checker → · Palette generator →

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