#663EB3#663EB3

#663EB3 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.6% C 0.176 H 294.5°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#663EB3
RGBrgb(102, 62, 179)
HSLhsl(261, 49%, 47%)
HSVhsv(261, 65%, 70%)
CMYKcmyk(43%, 65.4%, 0%, 29.8%)
CIE-LABlab(36.97, 43.87, -56.16)
CIE-LCHlch(36.97, 71.26, 308.00°)
OKLaboklab(47.57% 0.0729 -0.1604)
OKLCHoklch(47.57% 0.176 294.5)
XYZxyz(15.3366, 9.5243, 43.6694)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663EB3 #8BB33E
analogous
#3E50B3 #663EB3 #A13EB3
triadic
#663EB3 #B3663E #3EB366
tetradic
#663EB3 #B33E50 #8BB33E #3EB3A1
square
#663EB3 #B33E50 #8BB33E #3EB3A1
split-complementary
#663EB3 #B3A13E #50B33E
monochromatic
#321F58 #4C2E86 #663EB3 #8765CA #AA92D9

Accessibility & contrast

On white

7.23
#663EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#663EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663EB3
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663EB3#FFFFFF#000000##FFFFFF
##663EB31.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#0055B1
Tritanopia (blue-blind)
#515973
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #663eb3;
/* rgb */ color: rgb(102, 62, 179);
/* oklch */ color: oklch(47.6% 0.176 294.5);
Tailwind
colors: {
  custom: {
    50: '#9876cb',
    500: '#663eb3',
    950: '#000000',
  },
}
SCSS
$custom: #663eb3;
$custom-light: #9876cb;
$custom-dark: #000000;
JSON
{
  "hex": "#663eb3",
  "rgb": {
    "r": 102,
    "g": 62,
    "b": 179
  },
  "hsl": {
    "h": 260.513,
    "s": 48.548,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47567,
    "c": 0.17618,
    "h": 294.5
  },
  "luminance": 0.09525
}

Semantic roles & 50–950 ramp

primary
#663EB3
secondary
#B0C588
accent
#D850A9
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #663EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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