#663E9E#663E9E

#663E9E is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.0% C 0.150 H 299.7°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#663E9E
RGBrgb(102, 62, 158)
HSLhsl(265, 44%, 43%)
HSVhsv(265, 61%, 62%)
CMYKcmyk(35.4%, 60.8%, 0%, 38%)
CIE-LABlab(35.48, 38.17, -46.03)
CIE-LCHlch(35.48, 59.80, 309.67°)
OKLaboklab(46% 0.0744 -0.1306)
OKLCHoklch(46% 0.15 299.7)
XYZxyz(13.3722, 8.7385, 33.3233)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663E9E #769E3E
analogous
#3E469E #663E9E #963E9E
triadic
#663E9E #9E663E #3E9E66
tetradic
#663E9E #9E3E46 #769E3E #3E9E96
square
#663E9E #9E3E46 #769E3E #3E9E96
split-complementary
#663E9E #9E963E #469E3E
monochromatic
#2D1C46 #4A2D72 #663E9E #845BBF #A587D0

Accessibility & contrast

On white

7.64
#663E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#663E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663E9E
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663E9E#FFFFFF#000000##FFFFFF
##663E9E1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0353A1
Deuteranopia (green-blind)
#1D539C
Tritanopia (blue-blind)
#5A5268
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #663e9e;
/* rgb */ color: rgb(102, 62, 158);
/* oklch */ color: oklch(46.0% 0.150 299.7);
Tailwind
colors: {
  custom: {
    50: '#9575bb',
    500: '#663e9e',
    950: '#000000',
  },
}
SCSS
$custom: #663e9e;
$custom-light: #9575bb;
$custom-dark: #000000;
JSON
{
  "hex": "#663e9e",
  "rgb": {
    "r": 102,
    "g": 62,
    "b": 158
  },
  "hsl": {
    "h": 265,
    "s": 43.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46004,
    "c": 0.15033,
    "h": 299.7
  },
  "luminance": 0.08739
}

Semantic roles & 50–950 ramp

primary
#663E9E
secondary
#A1BA7E
accent
#D3549E
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #663E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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