#663EB5#663EB5

#663EB5 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.7% C 0.179 H 294.0°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#663EB5
RGBrgb(102, 62, 181)
HSLhsl(260, 49%, 48%)
HSVhsv(260, 66%, 71%)
CMYKcmyk(43.6%, 65.7%, 0%, 29%)
CIE-LABlab(37.13, 44.42, -57.09)
CIE-LCHlch(37.13, 72.34, 307.88°)
OKLaboklab(47.72% 0.0727 -0.1631)
OKLCHoklch(47.72% 0.179 294)
XYZxyz(15.5404, 9.6058, 44.7424)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663EB5 #8DB53E
analogous
#3E52B5 #663EB5 #A13EB5
triadic
#663EB5 #B5663E #3EB566
tetradic
#663EB5 #B53E52 #8DB53E #3EB5A1
square
#663EB5 #B53E52 #8DB53E #3EB5A1
split-complementary
#663EB5 #B5A13E #52B53E
monochromatic
#331F5A #4C2E87 #663EB5 #8866CA #AB93DA

Accessibility & contrast

On white

7.19
#663EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#663EB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663EB5
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663EB5#FFFFFF#000000##FFFFFF
##663EB51.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B9
Deuteranopia (green-blind)
#0055B3
Tritanopia (blue-blind)
#505A74
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #663eb5;
/* rgb */ color: rgb(102, 62, 181);
/* oklch */ color: oklch(47.7% 0.179 294.0);
Tailwind
colors: {
  custom: {
    50: '#9876cc',
    500: '#663eb5',
    950: '#000000',
  },
}
SCSS
$custom: #663eb5;
$custom-light: #9876cc;
$custom-dark: #000000;
JSON
{
  "hex": "#663eb5",
  "rgb": {
    "r": 102,
    "g": 62,
    "b": 181
  },
  "hsl": {
    "h": 260.168,
    "s": 48.971,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47723,
    "c": 0.17861,
    "h": 294
  },
  "luminance": 0.09606
}

Semantic roles & 50–950 ramp

primary
#663EB5
secondary
#B1C589
accent
#D94FAA
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #663EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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