#663DB6#663DB6

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

Color values

HEX#663DB6
RGBrgb(102, 61, 182)
HSLhsl(260, 50%, 48%)
HSVhsv(260, 66%, 71%)
CMYKcmyk(44%, 66.5%, 0%, 28.6%)
CIE-LABlab(37.00, 45.24, -57.89)
CIE-LCHlch(37.00, 73.47, 308.01°)
OKLaboklab(47.66% 0.0736 -0.1655)
OKLCHoklch(47.66% 0.181 294)
XYZxyz(15.5894, 9.5392, 45.2668)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663DB6 #8DB63D
analogous
#3D50B6 #663DB6 #A33DB6
triadic
#663DB6 #B6663D #3DB666
tetradic
#663DB6 #B63D50 #8DB63D #3DB6A3
square
#663DB6 #B63D50 #8DB63D #3DB6A3
split-complementary
#663DB6 #B6A33D #50B63D
monochromatic
#331E5A #4C2E88 #663DB6 #8865CB #AB93DB

Accessibility & contrast

On white

7.22
#663DB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #663DB6
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663DB6#FFFFFF#000000##FFFFFF
##663DB61.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BA
Deuteranopia (green-blind)
#0055B4
Tritanopia (blue-blind)
#505A74
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #663db6;
/* rgb */ color: rgb(102, 61, 182);
/* oklch */ color: oklch(47.7% 0.181 294.0);
Tailwind
colors: {
  custom: {
    50: '#9875cd',
    500: '#663db6',
    950: '#000000',
  },
}
SCSS
$custom: #663db6;
$custom-light: #9875cd;
$custom-dark: #000000;
JSON
{
  "hex": "#663db6",
  "rgb": {
    "r": 102,
    "g": 61,
    "b": 182
  },
  "hsl": {
    "h": 260.331,
    "s": 49.794,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47658,
    "c": 0.18111,
    "h": 294
  },
  "luminance": 0.0954
}

Semantic roles & 50–950 ramp

primary
#663DB6
secondary
#B1C689
accent
#D94EAA
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #663DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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