#663FCC#663FCC

#663FCC is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 49.7% C 0.205 H 289.5°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#663FCC
RGBrgb(102, 63, 204)
HSLhsl(257, 58%, 52%)
HSVhsv(257, 69%, 80%)
CMYKcmyk(50%, 69.1%, 0%, 20%)
CIE-LABlab(39.14, 50.28, -67.28)
CIE-LCHlch(39.14, 83.99, 306.77°)
OKLaboklab(49.73% 0.0683 -0.1931)
OKLCHoklch(49.73% 0.205 289.5)
XYZxyz(18.1529, 10.7386, 58.2313)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663FCC #A5CC3F
analogous
#3F5ECC #663FCC #AD3FCC
triadic
#663FCC #CC663F #3FCC66
tetradic
#663FCC #CC3F5E #A5CC3F #3FCCAD
square
#663FCC #CC3F5E #A5CC3F #3FCCAD
split-complementary
#663FCC #CCAD3F #5ECC3F
monochromatic
#361E72 #4C2BA3 #663FCC #8D6FD9 #B3A0E6

Accessibility & contrast

On white

6.67
#663FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#663FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663FCC
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663FCC#FFFFFF#000000##FFFFFF
##663FCC1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD0
Deuteranopia (green-blind)
#0059C9
Tritanopia (blue-blind)
#426381
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #663fcc;
/* rgb */ color: rgb(102, 63, 204);
/* oklch */ color: oklch(49.7% 0.205 289.5);
Tailwind
colors: {
  custom: {
    50: '#9b77dd',
    500: '#663fcc',
    950: '#000000',
  },
}
SCSS
$custom: #663fcc;
$custom-light: #9b77dd;
$custom-dark: #000000;
JSON
{
  "hex": "#663fcc",
  "rgb": {
    "r": 102,
    "g": 63,
    "b": 204
  },
  "hsl": {
    "h": 256.596,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.49732,
    "c": 0.2048,
    "h": 289.5
  },
  "luminance": 0.10739
}

Semantic roles & 50–950 ramp

primary
#663FCC
secondary
#C1D295
accent
#E147B6
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #663FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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