#663BB9#663BB9

#663BB9 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.6% C 0.187 H 293.7°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#663BB9
RGBrgb(102, 59, 185)
HSLhsl(260, 52%, 48%)
HSVhsv(260, 68%, 73%)
CMYKcmyk(44.9%, 68.1%, 0%, 27.5%)
CIE-LABlab(36.85, 47.13, -59.91)
CIE-LCHlch(36.85, 76.22, 308.19°)
OKLaboklab(47.62% 0.0753 -0.1714)
OKLCHoklch(47.62% 0.187 293.7)
XYZxyz(15.7980, 9.4550, 46.8822)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663BB9 #8EB93B
analogous
#3B4FB9 #663BB9 #A53BB9
triadic
#663BB9 #B9663B #3BB966
tetradic
#663BB9 #B93B4F #8EB93B #3BB9A5
square
#663BB9 #B93B4F #8EB93B #3BB9A5
split-complementary
#663BB9 #B9A53B #4FB93B
monochromatic
#331D5C #4C2C8B #663BB9 #8864CD #AB92DC

Accessibility & contrast

On white

7.26
#663BB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#663BB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663BB9
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663BB9#FFFFFF#000000##FFFFFF
##663BB91.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BD
Deuteranopia (green-blind)
#0054B6
Tritanopia (blue-blind)
#4E5A75
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #663bb9;
/* rgb */ color: rgb(102, 59, 185);
/* oklch */ color: oklch(47.6% 0.187 293.7);
Tailwind
colors: {
  custom: {
    50: '#9874cf',
    500: '#663bb9',
    950: '#000000',
  },
}
SCSS
$custom: #663bb9;
$custom-light: #9874cf;
$custom-dark: #000000;
JSON
{
  "hex": "#663bb9",
  "rgb": {
    "r": 102,
    "g": 59,
    "b": 185
  },
  "hsl": {
    "h": 260.476,
    "s": 51.639,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47619,
    "c": 0.18722,
    "h": 293.7
  },
  "luminance": 0.09455
}

Semantic roles & 50–950 ramp

primary
#663BB9
secondary
#B2C788
accent
#DB4DAB
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #663BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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