#663EB7#663EB7

#663EB7 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 47.9% C 0.181 H 293.6°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#663EB7
RGBrgb(102, 62, 183)
HSLhsl(260, 49%, 48%)
HSVhsv(260, 66%, 72%)
CMYKcmyk(44.3%, 66.1%, 0%, 28.2%)
CIE-LABlab(37.28, 44.97, -58.03)
CIE-LCHlch(37.28, 73.41, 307.77°)
OKLaboklab(47.88% 0.0725 -0.1659)
OKLCHoklch(47.88% 0.181 293.6)
XYZxyz(15.7470, 9.6885, 45.8309)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663EB7 #8FB73E
analogous
#3E52B7 #663EB7 #A33EB7
triadic
#663EB7 #B7663E #3EB766
tetradic
#663EB7 #B73E52 #8FB73E #3EB7A3
square
#663EB7 #B73E52 #8FB73E #3EB7A3
split-complementary
#663EB7 #B7A33E #52B73E
monochromatic
#331F5C #4D2F89 #663EB7 #8867CB #AC94DB

Accessibility & contrast

On white

7.15
#663EB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#663EB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663EB7
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663EB7#FFFFFF#000000##FFFFFF
##663EB71.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BB
Deuteranopia (green-blind)
#0056B5
Tritanopia (blue-blind)
#4F5B75
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #663eb7;
/* rgb */ color: rgb(102, 62, 183);
/* oklch */ color: oklch(47.9% 0.181 293.6);
Tailwind
colors: {
  custom: {
    50: '#9876cd',
    500: '#663eb7',
    950: '#000000',
  },
}
SCSS
$custom: #663eb7;
$custom-light: #9876cd;
$custom-dark: #000000;
JSON
{
  "hex": "#663eb7",
  "rgb": {
    "r": 102,
    "g": 62,
    "b": 183
  },
  "hsl": {
    "h": 259.835,
    "s": 49.388,
    "l": 48.039
  },
  "oklch": {
    "l": 0.4788,
    "c": 0.18103,
    "h": 293.6
  },
  "luminance": 0.09689
}

Semantic roles & 50–950 ramp

primary
#663EB7
secondary
#B3C68A
accent
#D94FAB
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #663EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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