#663ACD#663ACD

#663ACD is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.2% C 0.212 H 290.1°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#663ACD
RGBrgb(102, 58, 205)
HSLhsl(258, 60%, 52%)
HSVhsv(258, 72%, 80%)
CMYKcmyk(50.2%, 71.7%, 0%, 19.6%)
CIE-LABlab(38.30, 53.12, -69.22)
CIE-LCHlch(38.30, 87.26, 307.50°)
OKLaboklab(49.16% 0.0725 -0.1988)
OKLCHoklch(49.16% 0.212 290.1)
XYZxyz(18.0088, 10.2579, 58.7768)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663ACD #A1CD3A
analogous
#3A58CD #663ACD #B03ACD
triadic
#663ACD #CD663A #3ACD66
tetradic
#663ACD #CD3A58 #A1CD3A #3ACDB0
square
#663ACD #CD3A58 #A1CD3A #3ACDB0
split-complementary
#663ACD #CDB03A #58CD3A
monochromatic
#361C70 #4D29A1 #663ACD #8C6BD9 #B29CE6

Accessibility & contrast

On white

6.88
#663ACD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#663ACD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663ACD
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663ACD#FFFFFF#000000##FFFFFF
##663ACD1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD1
Deuteranopia (green-blind)
#0057CA
Tritanopia (blue-blind)
#426180
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #663acd;
/* rgb */ color: rgb(102, 58, 205);
/* oklch */ color: oklch(49.2% 0.212 290.1);
Tailwind
colors: {
  custom: {
    50: '#9b74dd',
    500: '#663acd',
    950: '#000000',
  },
}
SCSS
$custom: #663acd;
$custom-light: #9b74dd;
$custom-dark: #000000;
JSON
{
  "hex": "#663acd",
  "rgb": {
    "r": 102,
    "g": 58,
    "b": 205
  },
  "hsl": {
    "h": 257.959,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.49164,
    "c": 0.21158,
    "h": 290.1
  },
  "luminance": 0.10259
}

Semantic roles & 50–950 ramp

primary
#663ACD
secondary
#BED291
accent
#E345B4
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #663ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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