#663BB2#663BB2

#663BB2 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.1% C 0.179 H 295.2°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#663BB2
RGBrgb(102, 59, 178)
HSLhsl(262, 50%, 46%)
HSVhsv(262, 67%, 70%)
CMYKcmyk(42.7%, 66.9%, 0%, 30.2%)
CIE-LABlab(36.30, 45.22, -56.65)
CIE-LCHlch(36.30, 72.49, 308.60°)
OKLaboklab(47.06% 0.0763 -0.1618)
OKLCHoklch(47.06% 0.179 295.2)
XYZxyz(15.0772, 9.1667, 43.0858)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663BB2 #87B23B
analogous
#3B4BB2 #663BB2 #A23BB2
triadic
#663BB2 #B2663B #3BB266
tetradic
#663BB2 #B23B4B #87B23B #3BB2A2
square
#663BB2 #B23B4B #87B23B #3BB2A2
split-complementary
#663BB2 #B2A23B #4BB23B
monochromatic
#311D56 #4C2C84 #663BB2 #8660CA #A98EDA

Accessibility & contrast

On white

7.41
#663BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#663BB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663BB2
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663BB2#FFFFFF#000000##FFFFFF
##663BB21.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#525771
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #663bb2;
/* rgb */ color: rgb(102, 59, 178);
/* oklch */ color: oklch(47.1% 0.179 295.2);
Tailwind
colors: {
  custom: {
    50: '#9874ca',
    500: '#663bb2',
    950: '#000000',
  },
}
SCSS
$custom: #663bb2;
$custom-light: #9874ca;
$custom-dark: #000000;
JSON
{
  "hex": "#663bb2",
  "rgb": {
    "r": 102,
    "g": 59,
    "b": 178
  },
  "hsl": {
    "h": 261.681,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47059,
    "c": 0.17892,
    "h": 295.2
  },
  "luminance": 0.09167
}

Semantic roles & 50–950 ramp

primary
#663BB2
secondary
#ADC485
accent
#DA4EA7
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #663BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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