#663CC8#663CC8

#663CC8 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.0% C 0.204 H 290.6°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#663CC8
RGBrgb(102, 60, 200)
HSLhsl(258, 56%, 51%)
HSVhsv(258, 70%, 78%)
CMYKcmyk(49%, 70%, 0%, 21.6%)
CIE-LABlab(38.24, 50.73, -66.41)
CIE-LCHlch(38.24, 83.57, 307.38°)
OKLaboklab(48.99% 0.0718 -0.1905)
OKLCHoklch(48.99% 0.204 290.6)
XYZxyz(17.5177, 10.2259, 55.6832)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663CC8 #9EC83C
analogous
#3C58C8 #663CC8 #AC3CC8
triadic
#663CC8 #C8663C #3CC866
tetradic
#663CC8 #C83C58 #9EC83C #3CC8AC
square
#663CC8 #C83C58 #9EC83C #3CC8AC
split-complementary
#663CC8 #C8AC3C #58C83C
monochromatic
#351E6B #4D2C9B #663CC8 #8B6CD5 #B19BE3

Accessibility & contrast

On white

6.90
#663CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#663CC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663CC8
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663CC8#FFFFFF#000000##FFFFFF
##663CC81.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCC
Deuteranopia (green-blind)
#0057C5
Tritanopia (blue-blind)
#45607E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #663cc8;
/* rgb */ color: rgb(102, 60, 200);
/* oklch */ color: oklch(49.0% 0.204 290.6);
Tailwind
colors: {
  custom: {
    50: '#9a75da',
    500: '#663cc8',
    950: '#000000',
  },
}
SCSS
$custom: #663cc8;
$custom-light: #9a75da;
$custom-dark: #000000;
JSON
{
  "hex": "#663cc8",
  "rgb": {
    "r": 102,
    "g": 60,
    "b": 200
  },
  "hsl": {
    "h": 258,
    "s": 56,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48994,
    "c": 0.20358,
    "h": 290.6
  },
  "luminance": 0.10227
}

Semantic roles & 50–950 ramp

primary
#663CC8
secondary
#BCCF91
accent
#DF49B2
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #663CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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