#663ACC#663ACC

#663ACC is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.1% C 0.210 H 290.2°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#663ACC
RGBrgb(102, 58, 204)
HSLhsl(258, 59%, 51%)
HSVhsv(258, 72%, 80%)
CMYKcmyk(50%, 71.6%, 0%, 20%)
CIE-LABlab(38.22, 52.85, -68.78)
CIE-LCHlch(38.22, 86.74, 307.54°)
OKLaboklab(49.08% 0.0728 -0.1975)
OKLCHoklch(49.08% 0.21 290.2)
XYZxyz(17.8885, 10.2098, 58.1432)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663ACC #A0CC3A
analogous
#3A57CC #663ACC #AF3ACC
triadic
#663ACC #CC663A #3ACC66
tetradic
#663ACC #CC3A57 #A0CC3A #3ACCAF
square
#663ACC #CC3A57 #A0CC3A #3ACCAF
split-complementary
#663ACC #CCAF3A #57CC3A
monochromatic
#351D6F #4D29A0 #663ACC #8C6BD9 #B29BE5

Accessibility & contrast

On white

6.90
#663ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#663ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663ACC
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663ACC#FFFFFF#000000##FFFFFF
##663ACC1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD0
Deuteranopia (green-blind)
#0057C9
Tritanopia (blue-blind)
#43607F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #663acc;
/* rgb */ color: rgb(102, 58, 204);
/* oklch */ color: oklch(49.1% 0.210 290.2);
Tailwind
colors: {
  custom: {
    50: '#9b74dd',
    500: '#663acc',
    950: '#000000',
  },
}
SCSS
$custom: #663acc;
$custom-light: #9b74dd;
$custom-dark: #000000;
JSON
{
  "hex": "#663acc",
  "rgb": {
    "r": 102,
    "g": 58,
    "b": 204
  },
  "hsl": {
    "h": 258.082,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.49078,
    "c": 0.21044,
    "h": 290.2
  },
  "luminance": 0.10211
}

Semantic roles & 50–950 ramp

primary
#663ACC
secondary
#BED191
accent
#E246B3
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #663ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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