#663AD3#663AD3

#663AD3 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.7% C 0.218 H 289.0°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#663AD3
RGBrgb(102, 58, 211)
HSLhsl(257, 63%, 53%)
HSVhsv(257, 73%, 83%)
CMYKcmyk(51.7%, 72.5%, 0%, 17.3%)
CIE-LABlab(38.82, 54.77, -71.85)
CIE-LCHlch(38.82, 90.34, 307.32°)
OKLaboklab(49.69% 0.0712 -0.2064)
OKLCHoklch(49.69% 0.218 289)
XYZxyz(18.7470, 10.5532, 62.6645)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663AD3 #A7D33A
analogous
#3A5AD3 #663AD3 #B23AD3
triadic
#663AD3 #D3663A #3AD366
tetradic
#663AD3 #D33A5A #A7D33A #3AD3B2
square
#663AD3 #D33A5A #A7D33A #3AD3B2
split-complementary
#663AD3 #D3B23A #5AD33A
monochromatic
#361B78 #4C26AA #663AD3 #8D6CDE #B49EE9

Accessibility & contrast

On white

6.75
#663AD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#663AD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663AD3
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663AD3#FFFFFF#000000##FFFFFF
##663AD31.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED7
Deuteranopia (green-blind)
#0058D0
Tritanopia (blue-blind)
#3D6383
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #663ad3;
/* rgb */ color: rgb(102, 58, 211);
/* oklch */ color: oklch(49.7% 0.218 289.0);
Tailwind
colors: {
  custom: {
    50: '#9c74e2',
    500: '#663ad3',
    950: '#000000',
  },
}
SCSS
$custom: #663ad3;
$custom-light: #9c74e2;
$custom-dark: #000000;
JSON
{
  "hex": "#663ad3",
  "rgb": {
    "r": 102,
    "g": 58,
    "b": 211
  },
  "hsl": {
    "h": 257.255,
    "s": 63.485,
    "l": 52.745
  },
  "oklch": {
    "l": 0.49688,
    "c": 0.21839,
    "h": 289
  },
  "luminance": 0.10554
}

Semantic roles & 50–950 ramp

primary
#663AD3
secondary
#C2D693
accent
#E741B7
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0815
muted
#7F7B84

Preview Lab

Preview with #663AD3

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

Preview Lab → · Contrast checker → · Palette generator →

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