#663CC4#663CC4

#663CC4 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.7% C 0.199 H 291.4°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#663CC4
RGBrgb(102, 60, 196)
HSLhsl(259, 54%, 50%)
HSVhsv(259, 69%, 77%)
CMYKcmyk(48%, 69.4%, 0%, 23.1%)
CIE-LABlab(37.92, 49.62, -64.62)
CIE-LCHlch(37.92, 81.47, 307.52°)
OKLaboklab(48.66% 0.0725 -0.1852)
OKLCHoklch(48.66% 0.199 291.4)
XYZxyz(17.0563, 10.0414, 53.2533)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663CC4 #9AC43C
analogous
#3C56C4 #663CC4 #AA3CC4
triadic
#663CC4 #C4663C #3CC466
tetradic
#663CC4 #C43C56 #9AC43C #3CC4AA
square
#663CC4 #C43C56 #9AC43C #3CC4AA
split-complementary
#663CC4 #C4AA3C #56C43C
monochromatic
#351F67 #4D2D96 #663CC4 #8B6BD2 #B09AE0

Accessibility & contrast

On white

6.98
#663CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#663CC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663CC4
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663CC4#FFFFFF#000000##FFFFFF
##663CC41.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC8
Deuteranopia (green-blind)
#0056C1
Tritanopia (blue-blind)
#485E7B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #663cc4;
/* rgb */ color: rgb(102, 60, 196);
/* oklch */ color: oklch(48.7% 0.199 291.4);
Tailwind
colors: {
  custom: {
    50: '#9a75d7',
    500: '#663cc4',
    950: '#000000',
  },
}
SCSS
$custom: #663cc4;
$custom-light: #9a75d7;
$custom-dark: #000000;
JSON
{
  "hex": "#663cc4",
  "rgb": {
    "r": 102,
    "g": 60,
    "b": 196
  },
  "hsl": {
    "h": 258.529,
    "s": 53.543,
    "l": 50.196
  },
  "oklch": {
    "l": 0.48659,
    "c": 0.19892,
    "h": 291.4
  },
  "luminance": 0.10042
}

Semantic roles & 50–950 ramp

primary
#663CC4
secondary
#BACC90
accent
#DD4BB0
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #663CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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