#663FC4#663FC4

#663FC4 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.1% C 0.195 H 290.9°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#663FC4
RGBrgb(102, 63, 196)
HSLhsl(258, 53%, 51%)
HSVhsv(258, 68%, 77%)
CMYKcmyk(48%, 67.9%, 0%, 23.1%)
CIE-LABlab(38.49, 48.04, -63.68)
CIE-LCHlch(38.49, 79.77, 307.03°)
OKLaboklab(49.07% 0.0696 -0.1825)
OKLCHoklch(49.07% 0.195 290.9)
XYZxyz(17.2180, 10.3647, 53.3072)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663FC4 #9DC43F
analogous
#3F5AC4 #663FC4 #A83FC4
triadic
#663FC4 #C4663F #3FC466
tetradic
#663FC4 #C43F5A #9DC43F #3FC4A8
square
#663FC4 #C43F5A #9DC43F #3FC4A8
split-complementary
#663FC4 #C4A83F #5AC43F
monochromatic
#352068 #4D2E97 #663FC4 #8B6ED2 #B19DE1

Accessibility & contrast

On white

6.83
#663FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#663FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663FC4
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663FC4#FFFFFF#000000##FFFFFF
##663FC41.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC8
Deuteranopia (green-blind)
#0058C1
Tritanopia (blue-blind)
#48607C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #663fc4;
/* rgb */ color: rgb(102, 63, 196);
/* oklch */ color: oklch(49.1% 0.195 290.9);
Tailwind
colors: {
  custom: {
    50: '#9a77d7',
    500: '#663fc4',
    950: '#000000',
  },
}
SCSS
$custom: #663fc4;
$custom-light: #9a77d7;
$custom-dark: #000000;
JSON
{
  "hex": "#663fc4",
  "rgb": {
    "r": 102,
    "g": 63,
    "b": 196
  },
  "hsl": {
    "h": 257.594,
    "s": 52.988,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49068,
    "c": 0.19534,
    "h": 290.9
  },
  "luminance": 0.10365
}

Semantic roles & 50–950 ramp

primary
#663FC4
secondary
#BCCD92
accent
#DC4BB2
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #663FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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