#663FC9#663FC9

#663FC9 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.5% C 0.201 H 290.0°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#663FC9
RGBrgb(102, 63, 201)
HSLhsl(257, 56%, 52%)
HSVhsv(257, 69%, 79%)
CMYKcmyk(49.3%, 68.7%, 0%, 21.2%)
CIE-LABlab(38.89, 49.44, -65.94)
CIE-LCHlch(38.89, 82.42, 306.87°)
OKLaboklab(49.48% 0.0688 -0.1891)
OKLCHoklch(49.48% 0.201 290)
XYZxyz(17.7966, 10.5961, 56.3546)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663FC9 #A2C93F
analogous
#3F5DC9 #663FC9 #AB3FC9
triadic
#663FC9 #C9663F #3FC966
tetradic
#663FC9 #C93F5D #A2C93F #3FC9AB
square
#663FC9 #C93F5D #A2C93F #3FC9AB
split-complementary
#663FC9 #C9AB3F #5DC93F
monochromatic
#361F6F #4D2D9E #663FC9 #8C6FD6 #B29FE4

Accessibility & contrast

On white

6.73
#663FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#663FC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663FC9
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663FC9#FFFFFF#000000##FFFFFF
##663FC91.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #663fc9;
/* rgb */ color: rgb(102, 63, 201);
/* oklch */ color: oklch(49.5% 0.201 290.0);
Tailwind
colors: {
  custom: {
    50: '#9a77da',
    500: '#663fc9',
    950: '#000000',
  },
}
SCSS
$custom: #663fc9;
$custom-light: #9a77da;
$custom-dark: #000000;
JSON
{
  "hex": "#663fc9",
  "rgb": {
    "r": 102,
    "g": 63,
    "b": 201
  },
  "hsl": {
    "h": 256.957,
    "s": 56.098,
    "l": 51.765
  },
  "oklch": {
    "l": 0.49481,
    "c": 0.20127,
    "h": 290
  },
  "luminance": 0.10597
}

Semantic roles & 50–950 ramp

primary
#663FC9
secondary
#BFD094
accent
#DF48B5
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #663FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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