#663CC2#663CC2

#663CC2 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.5% C 0.197 H 291.8°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#663CC2
RGBrgb(102, 60, 194)
HSLhsl(259, 53%, 50%)
HSVhsv(259, 69%, 76%)
CMYKcmyk(47.4%, 69.1%, 0%, 23.9%)
CIE-LABlab(37.75, 49.07, -63.71)
CIE-LCHlch(37.75, 80.42, 307.60°)
OKLaboklab(48.49% 0.0729 -0.1826)
OKLCHoklch(48.49% 0.197 291.8)
XYZxyz(16.8302, 9.9509, 52.0624)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663CC2 #98C23C
analogous
#3C55C2 #663CC2 #A93CC2
triadic
#663CC2 #C2663C #3CC266
tetradic
#663CC2 #C23C55 #98C23C #3CC2A9
square
#663CC2 #C23C55 #98C23C #3CC2A9
split-complementary
#663CC2 #C2A93C #55C23C
monochromatic
#351F65 #4D2E93 #663CC2 #8A6AD1 #AF99DF

Accessibility & contrast

On white

7.02
#663CC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#663CC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663CC2
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663CC2#FFFFFF#000000##FFFFFF
##663CC21.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#0056BF
Tritanopia (blue-blind)
#495E7A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #663cc2;
/* rgb */ color: rgb(102, 60, 194);
/* oklch */ color: oklch(48.5% 0.197 291.8);
Tailwind
colors: {
  custom: {
    50: '#9a75d5',
    500: '#663cc2',
    950: '#000000',
  },
}
SCSS
$custom: #663cc2;
$custom-light: #9a75d5;
$custom-dark: #000000;
JSON
{
  "hex": "#663cc2",
  "rgb": {
    "r": 102,
    "g": 60,
    "b": 194
  },
  "hsl": {
    "h": 258.806,
    "s": 52.756,
    "l": 49.804
  },
  "oklch": {
    "l": 0.48492,
    "c": 0.19659,
    "h": 291.8
  },
  "luminance": 0.09952
}

Semantic roles & 50–950 ramp

primary
#663CC2
secondary
#B8CB8F
accent
#DC4CAF
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #663CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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