#663DC9#663DC9

#663DC9 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.2% C 0.204 H 290.3°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#663DC9
RGBrgb(102, 61, 201)
HSLhsl(258, 56%, 51%)
HSVhsv(258, 70%, 79%)
CMYKcmyk(49.3%, 69.7%, 0%, 21.2%)
CIE-LABlab(38.51, 50.49, -66.55)
CIE-LCHlch(38.51, 83.54, 307.18°)
OKLaboklab(49.21% 0.0707 -0.1909)
OKLCHoklch(49.21% 0.204 290.3)
XYZxyz(17.6878, 10.3786, 56.3183)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663DC9 #A0C93D
analogous
#3D5AC9 #663DC9 #AC3DC9
triadic
#663DC9 #C9663D #3DC966
tetradic
#663DC9 #C93D5A #A0C93D #3DC9AC
square
#663DC9 #C93D5A #A0C93D #3DC9AC
split-complementary
#663DC9 #C9AC3D #5AC93D
monochromatic
#351E6D #4D2C9D #663DC9 #8C6DD6 #B29DE4

Accessibility & contrast

On white

6.83
#663DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#663DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663DC9
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663DC9#FFFFFF#000000##FFFFFF
##663DC91.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCD
Deuteranopia (green-blind)
#0057C6
Tritanopia (blue-blind)
#45617E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #663dc9;
/* rgb */ color: rgb(102, 61, 201);
/* oklch */ color: oklch(49.2% 0.204 290.3);
Tailwind
colors: {
  custom: {
    50: '#9a76da',
    500: '#663dc9',
    950: '#000000',
  },
}
SCSS
$custom: #663dc9;
$custom-light: #9a76da;
$custom-dark: #000000;
JSON
{
  "hex": "#663dc9",
  "rgb": {
    "r": 102,
    "g": 61,
    "b": 201
  },
  "hsl": {
    "h": 257.571,
    "s": 56.452,
    "l": 51.373
  },
  "oklch": {
    "l": 0.49211,
    "c": 0.2036,
    "h": 290.3
  },
  "luminance": 0.10379
}

Semantic roles & 50–950 ramp

primary
#663DC9
secondary
#BED092
accent
#E048B3
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #663DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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