#663E9F#663E9F

#663E9F is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.1% C 0.152 H 299.4°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#663E9F
RGBrgb(102, 62, 159)
HSLhsl(265, 44%, 43%)
HSVhsv(265, 61%, 62%)
CMYKcmyk(35.8%, 61%, 0%, 37.6%)
CIE-LABlab(35.54, 38.44, -46.52)
CIE-LCHlch(35.54, 60.35, 309.56°)
OKLaboklab(46.08% 0.0744 -0.1321)
OKLCHoklch(46.08% 0.152 299.4)
XYZxyz(13.4586, 8.7731, 33.7785)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663E9F #779F3E
analogous
#3E479F #663E9F #963E9F
triadic
#663E9F #9F663E #3E9F66
tetradic
#663E9F #9F3E47 #779F3E #3E9F96
square
#663E9F #9F3E47 #779F3E #3E9F96
split-complementary
#663E9F #9F963E #479F3E
monochromatic
#2E1C47 #4A2D73 #663E9F #845BBF #A587D0

Accessibility & contrast

On white

7.62
#663E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #663E9F
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663E9F#FFFFFF#000000##FFFFFF
##663E9F1.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#1B539D
Tritanopia (blue-blind)
#5A5368
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #663e9f;
/* rgb */ color: rgb(102, 62, 159);
/* oklch */ color: oklch(46.1% 0.152 299.4);
Tailwind
colors: {
  custom: {
    50: '#9675bc',
    500: '#663e9f',
    950: '#000000',
  },
}
SCSS
$custom: #663e9f;
$custom-light: #9675bc;
$custom-dark: #000000;
JSON
{
  "hex": "#663e9f",
  "rgb": {
    "r": 102,
    "g": 62,
    "b": 159
  },
  "hsl": {
    "h": 264.742,
    "s": 43.891,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46075,
    "c": 0.15158,
    "h": 299.4
  },
  "luminance": 0.08773
}

Semantic roles & 50–950 ramp

primary
#663E9F
secondary
#A2BB7E
accent
#D4549F
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #663E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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