#663BB5#663BB5

#663BB5 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.3% C 0.182 H 294.6°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#663BB5
RGBrgb(102, 59, 181)
HSLhsl(261, 51%, 47%)
HSVhsv(261, 67%, 71%)
CMYKcmyk(43.6%, 67.4%, 0%, 29%)
CIE-LABlab(36.53, 46.03, -58.06)
CIE-LCHlch(36.53, 74.09, 308.41°)
OKLaboklab(47.3% 0.0759 -0.166)
OKLCHoklch(47.3% 0.182 294.6)
XYZxyz(15.3817, 9.2885, 44.6895)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663BB5 #8AB53B
analogous
#3B4DB5 #663BB5 #A33BB5
triadic
#663BB5 #B5663B #3BB566
tetradic
#663BB5 #B53B4D #8AB53B #3BB5A3
square
#663BB5 #B53B4D #8AB53B #3BB5A3
split-complementary
#663BB5 #B5A33B #4DB53B
monochromatic
#321D59 #4C2C87 #663BB5 #8762CC #AA90DB

Accessibility & contrast

On white

7.35
#663BB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#663BB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663BB5
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663BB5#FFFFFF#000000##FFFFFF
##663BB51.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B9
Deuteranopia (green-blind)
#0054B3
Tritanopia (blue-blind)
#505873
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #663bb5;
/* rgb */ color: rgb(102, 59, 181);
/* oklch */ color: oklch(47.3% 0.182 294.6);
Tailwind
colors: {
  custom: {
    50: '#9874cc',
    500: '#663bb5',
    950: '#000000',
  },
}
SCSS
$custom: #663bb5;
$custom-light: #9874cc;
$custom-dark: #000000;
JSON
{
  "hex": "#663bb5",
  "rgb": {
    "r": 102,
    "g": 59,
    "b": 181
  },
  "hsl": {
    "h": 261.148,
    "s": 50.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47297,
    "c": 0.18248,
    "h": 294.6
  },
  "luminance": 0.09289
}

Semantic roles & 50–950 ramp

primary
#663BB5
secondary
#AFC686
accent
#DA4DA9
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #663BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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