#663BB1#663BB1

#663BB1 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.0% C 0.178 H 295.5°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#663BB1
RGBrgb(102, 59, 177)
HSLhsl(262, 50%, 46%)
HSVhsv(262, 67%, 69%)
CMYKcmyk(42.4%, 66.7%, 0%, 30.6%)
CIE-LABlab(36.23, 44.95, -56.18)
CIE-LCHlch(36.23, 71.95, 308.66°)
OKLaboklab(46.98% 0.0764 -0.1605)
OKLCHoklch(46.98% 0.178 295.5)
XYZxyz(14.9772, 9.1267, 42.5590)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663BB1 #86B13B
analogous
#3B4BB1 #663BB1 #A13BB1
triadic
#663BB1 #B1663B #3BB166
tetradic
#663BB1 #B13B4B #86B13B #3BB1A1
square
#663BB1 #B13B4B #86B13B #3BB1A1
split-complementary
#663BB1 #B1A13B #4BB13B
monochromatic
#311C55 #4C2C83 #663BB1 #865FCA #A98DD9

Accessibility & contrast

On white

7.43
#663BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #663BB1
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663BB1#FFFFFF#000000##FFFFFF
##663BB11.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B5
Deuteranopia (green-blind)
#0053AF
Tritanopia (blue-blind)
#525771
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #663bb1;
/* rgb */ color: rgb(102, 59, 177);
/* oklch */ color: oklch(47.0% 0.178 295.5);
Tailwind
colors: {
  custom: {
    50: '#9874c9',
    500: '#663bb1',
    950: '#000000',
  },
}
SCSS
$custom: #663bb1;
$custom-light: #9874c9;
$custom-dark: #000000;
JSON
{
  "hex": "#663bb1",
  "rgb": {
    "r": 102,
    "g": 59,
    "b": 177
  },
  "hsl": {
    "h": 261.864,
    "s": 50,
    "l": 46.275
  },
  "oklch": {
    "l": 0.46981,
    "c": 0.17773,
    "h": 295.5
  },
  "luminance": 0.09127
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #663BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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