#663EC9#663EC9

#663EC9 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.3% C 0.202 H 290.2°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#663EC9
RGBrgb(102, 62, 201)
HSLhsl(257, 56%, 52%)
HSVhsv(257, 69%, 79%)
CMYKcmyk(49.3%, 69.2%, 0%, 21.2%)
CIE-LABlab(38.70, 49.97, -66.25)
CIE-LCHlch(38.70, 82.98, 307.03°)
OKLaboklab(49.35% 0.0698 -0.19)
OKLCHoklch(49.35% 0.202 290.2)
XYZxyz(17.7417, 10.4864, 56.3363)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663EC9 #A1C93E
analogous
#3E5CC9 #663EC9 #AB3EC9
triadic
#663EC9 #C9663E #3EC966
tetradic
#663EC9 #C93E5C #A1C93E #3EC9AB
square
#663EC9 #C93E5C #A1C93E #3EC9AB
split-complementary
#663EC9 #C9AB3E #5CC93E
monochromatic
#361F6E #4D2C9E #663EC9 #8C6ED6 #B29EE4

Accessibility & contrast

On white

6.78
#663EC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#663EC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663EC9
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663EC9#FFFFFF#000000##FFFFFF
##663EC91.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECD
Deuteranopia (green-blind)
#0058C6
Tritanopia (blue-blind)
#45617F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #663ec9;
/* rgb */ color: rgb(102, 62, 201);
/* oklch */ color: oklch(49.3% 0.202 290.2);
Tailwind
colors: {
  custom: {
    50: '#9a76da',
    500: '#663ec9',
    950: '#000000',
  },
}
SCSS
$custom: #663ec9;
$custom-light: #9a76da;
$custom-dark: #000000;
JSON
{
  "hex": "#663ec9",
  "rgb": {
    "r": 102,
    "g": 62,
    "b": 201
  },
  "hsl": {
    "h": 257.266,
    "s": 56.275,
    "l": 51.569
  },
  "oklch": {
    "l": 0.49345,
    "c": 0.20244,
    "h": 290.2
  },
  "luminance": 0.10487
}

Semantic roles & 50–950 ramp

primary
#663EC9
secondary
#BED093
accent
#E048B4
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #663EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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