#663BBB#663BBB

#663BBB is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.8% C 0.190 H 293.3°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#663BBB
RGBrgb(102, 59, 187)
HSLhsl(260, 52%, 48%)
HSVhsv(260, 68%, 73%)
CMYKcmyk(45.5%, 68.4%, 0%, 26.7%)
CIE-LABlab(37.00, 47.67, -60.83)
CIE-LCHlch(37.00, 77.29, 308.09°)
OKLaboklab(47.78% 0.075 -0.1741)
OKLCHoklch(47.78% 0.19 293.3)
XYZxyz(16.0106, 9.5401, 48.0019)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663BBB #90BB3B
analogous
#3B50BB #663BBB #A63BBB
triadic
#663BBB #BB663B #3BBB66
tetradic
#663BBB #BB3B50 #90BB3B #3BBBA6
square
#663BBB #BB3B50 #90BB3B #3BBBA6
split-complementary
#663BBB #BBA63B #50BB3B
monochromatic
#331E5E #4D2C8C #663BBB #8865CE #AC93DD

Accessibility & contrast

On white

7.22
#663BBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#663BBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663BBB
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663BBB#FFFFFF#000000##FFFFFF
##663BBB1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BF
Deuteranopia (green-blind)
#0055B8
Tritanopia (blue-blind)
#4D5B76
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #663bbb;
/* rgb */ color: rgb(102, 59, 187);
/* oklch */ color: oklch(47.8% 0.190 293.3);
Tailwind
colors: {
  custom: {
    50: '#9974d0',
    500: '#663bbb',
    950: '#000000',
  },
}
SCSS
$custom: #663bbb;
$custom-light: #9974d0;
$custom-dark: #000000;
JSON
{
  "hex": "#663bbb",
  "rgb": {
    "r": 102,
    "g": 59,
    "b": 187
  },
  "hsl": {
    "h": 260.156,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47781,
    "c": 0.18958,
    "h": 293.3
  },
  "luminance": 0.09541
}

Semantic roles & 50–950 ramp

primary
#663BBB
secondary
#B3C88A
accent
#DB4CAB
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0814
muted
#7E7B82

Preview Lab

Preview with #663BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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