#663D95#663D95

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

Color values

HEX#663D95
RGBrgb(102, 61, 149)
HSLhsl(268, 42%, 41%)
HSVhsv(268, 59%, 58%)
CMYKcmyk(31.5%, 59.1%, 0%, 41.6%)
CIE-LABlab(34.67, 36.37, -41.88)
CIE-LCHlch(34.67, 55.47, 310.97°)
OKLaboklab(45.22% 0.0758 -0.1184)
OKLCHoklch(45.22% 0.141 302.6)
XYZxyz(12.5718, 8.3322, 29.3739)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663D95 #6C953D
analogous
#3D4095 #663D95 #923D95
triadic
#663D95 #95663D #3D9566
tetradic
#663D95 #953D40 #6C953D #3D9592
square
#663D95 #953D40 #6C953D #3D9592
split-complementary
#663D95 #95923D #40953D
monochromatic
#2B193E #482B6A #663D95 #8456BA #A481CB

Accessibility & contrast

On white

7.88
#663D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#663D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663D95
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663D95#FFFFFF#000000##FFFFFF
##663D951.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165198
Deuteranopia (green-blind)
#275193
Tritanopia (blue-blind)
#5D4F63
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #663d95;
/* rgb */ color: rgb(102, 61, 149);
/* oklch */ color: oklch(45.2% 0.141 302.6);
Tailwind
colors: {
  custom: {
    50: '#9574b5',
    500: '#663d95',
    950: '#000000',
  },
}
SCSS
$custom: #663d95;
$custom-light: #9574b5;
$custom-dark: #000000;
JSON
{
  "hex": "#663d95",
  "rgb": {
    "r": 102,
    "g": 61,
    "b": 149
  },
  "hsl": {
    "h": 267.955,
    "s": 41.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4522,
    "c": 0.14062,
    "h": 302.6
  },
  "luminance": 0.08332
}

Semantic roles & 50–950 ramp

primary
#663D95
secondary
#99B578
accent
#D25698
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #663D95

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

Preview Lab → · Contrast checker → · Palette generator →

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