#663CB3#663CB3

#663CB3 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.3% C 0.179 H 294.8°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#663CB3
RGBrgb(102, 60, 179)
HSLhsl(261, 50%, 47%)
HSVhsv(261, 66%, 70%)
CMYKcmyk(43%, 66.5%, 0%, 29.8%)
CIE-LABlab(36.58, 44.95, -56.80)
CIE-LCHlch(36.58, 72.44, 308.36°)
OKLaboklab(47.28% 0.0751 -0.1623)
OKLCHoklch(47.28% 0.179 294.8)
XYZxyz(15.2299, 9.3108, 43.6338)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663CB3 #89B33C
analogous
#3C4EB3 #663CB3 #A23CB3
triadic
#663CB3 #B3663C #3CB366
tetradic
#663CB3 #B33C4E #89B33C #3CB3A2
square
#663CB3 #B33C4E #89B33C #3CB3A2
split-complementary
#663CB3 #B3A23C #4EB33C
monochromatic
#321D57 #4C2D85 #663CB3 #8762CA #AA90DA

Accessibility & contrast

On white

7.34
#663CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#663CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663CB3
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663CB3#FFFFFF#000000##FFFFFF
##663CB31.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B7
Deuteranopia (green-blind)
#0054B1
Tritanopia (blue-blind)
#515872
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #663cb3;
/* rgb */ color: rgb(102, 60, 179);
/* oklch */ color: oklch(47.3% 0.179 294.8);
Tailwind
colors: {
  custom: {
    50: '#9874cb',
    500: '#663cb3',
    950: '#000000',
  },
}
SCSS
$custom: #663cb3;
$custom-light: #9874cb;
$custom-dark: #000000;
JSON
{
  "hex": "#663cb3",
  "rgb": {
    "r": 102,
    "g": 60,
    "b": 179
  },
  "hsl": {
    "h": 261.176,
    "s": 49.791,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47279,
    "c": 0.17881,
    "h": 294.8
  },
  "luminance": 0.09311
}

Semantic roles & 50–950 ramp

primary
#663CB3
secondary
#AFC586
accent
#D94EA8
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #663CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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