#663E95#663E95

#663E95 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.4% C 0.139 H 302.4°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#663E95
RGBrgb(102, 62, 149)
HSLhsl(268, 41%, 41%)
HSVhsv(268, 58%, 58%)
CMYKcmyk(31.5%, 58.4%, 0%, 41.6%)
CIE-LABlab(34.88, 35.80, -41.53)
CIE-LCHlch(34.88, 54.83, 310.76°)
OKLaboklab(45.38% 0.0745 -0.1174)
OKLCHoklch(45.38% 0.139 302.4)
XYZxyz(12.6257, 8.4399, 29.3919)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663E95 #6D953E
analogous
#3E4295 #663E95 #923E95
triadic
#663E95 #95663E #3E9566
tetradic
#663E95 #953E42 #6D953E #3E9592
square
#663E95 #953E42 #6D953E #3E9592
split-complementary
#663E95 #95923E #42953E
monochromatic
#2B1A3F #482C6A #663E95 #8457B9 #A482CB

Accessibility & contrast

On white

7.81
#663E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#663E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663E95
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663E95#FFFFFF#000000##FFFFFF
##663E951.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185198
Deuteranopia (green-blind)
#295293
Tritanopia (blue-blind)
#5D4F63
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #663e95;
/* rgb */ color: rgb(102, 62, 149);
/* oklch */ color: oklch(45.4% 0.139 302.4);
Tailwind
colors: {
  custom: {
    50: '#9575b5',
    500: '#663e95',
    950: '#000000',
  },
}
SCSS
$custom: #663e95;
$custom-light: #9575b5;
$custom-dark: #000000;
JSON
{
  "hex": "#663e95",
  "rgb": {
    "r": 102,
    "g": 62,
    "b": 149
  },
  "hsl": {
    "h": 267.586,
    "s": 41.232,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4538,
    "c": 0.13904,
    "h": 302.4
  },
  "luminance": 0.0844
}

Semantic roles & 50–950 ramp

primary
#663E95
secondary
#9AB57A
accent
#D15799
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #663E95

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

Preview Lab → · Contrast checker → · Palette generator →

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