#663BB8#663BB8

#663BB8 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.5% C 0.186 H 293.9°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#663BB8
RGBrgb(102, 59, 184)
HSLhsl(261, 51%, 48%)
HSVhsv(261, 68%, 72%)
CMYKcmyk(44.6%, 67.9%, 0%, 27.8%)
CIE-LABlab(36.77, 46.85, -59.45)
CIE-LCHlch(36.77, 75.69, 308.24°)
OKLaboklab(47.54% 0.0755 -0.17)
OKLCHoklch(47.54% 0.186 293.9)
XYZxyz(15.6928, 9.4130, 46.3282)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663BB8 #8DB83B
analogous
#3B4FB8 #663BB8 #A43BB8
triadic
#663BB8 #B8663B #3BB866
tetradic
#663BB8 #B83B4F #8DB83B #3BB8A4
square
#663BB8 #B83B4F #8DB83B #3BB8A4
split-complementary
#663BB8 #B8A43B #4FB83B
monochromatic
#331D5B #4C2C8A #663BB8 #8863CD #AB92DC

Accessibility & contrast

On white

7.29
#663BB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#663BB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663BB8
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663BB8#FFFFFF#000000##FFFFFF
##663BB81.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BC
Deuteranopia (green-blind)
#0054B5
Tritanopia (blue-blind)
#4F5975
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #663bb8;
/* rgb */ color: rgb(102, 59, 184);
/* oklch */ color: oklch(47.5% 0.186 293.9);
Tailwind
colors: {
  custom: {
    50: '#9874ce',
    500: '#663bb8',
    950: '#000000',
  },
}
SCSS
$custom: #663bb8;
$custom-light: #9874ce;
$custom-dark: #000000;
JSON
{
  "hex": "#663bb8",
  "rgb": {
    "r": 102,
    "g": 59,
    "b": 184
  },
  "hsl": {
    "h": 260.64,
    "s": 51.44,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47538,
    "c": 0.18604,
    "h": 293.9
  },
  "luminance": 0.09413
}

Semantic roles & 50–950 ramp

primary
#663BB8
secondary
#B1C788
accent
#DB4DAA
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #663BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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