#663EC4#663EC4

#663EC4 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.9% C 0.197 H 291.1°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#663EC4
RGBrgb(102, 62, 196)
HSLhsl(258, 53%, 51%)
HSVhsv(258, 68%, 77%)
CMYKcmyk(48%, 68.4%, 0%, 23.1%)
CIE-LABlab(38.30, 48.58, -64.00)
CIE-LCHlch(38.30, 80.35, 307.20°)
OKLaboklab(48.93% 0.0706 -0.1834)
OKLCHoklch(48.93% 0.197 291.1)
XYZxyz(17.1631, 10.2549, 53.2889)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663EC4 #9CC43E
analogous
#3E59C4 #663EC4 #A93EC4
triadic
#663EC4 #C4663E #3EC466
tetradic
#663EC4 #C43E59 #9CC43E #3EC4A9
square
#663EC4 #C43E59 #9CC43E #3EC4A9
split-complementary
#663EC4 #C4A93E #59C43E
monochromatic
#352068 #4D2E97 #663EC4 #8B6DD2 #B09CE1

Accessibility & contrast

On white

6.88
#663EC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #663EC4
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663EC4#FFFFFF#000000##FFFFFF
##663EC41.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC8
Deuteranopia (green-blind)
#0057C1
Tritanopia (blue-blind)
#48607C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #663ec4;
/* rgb */ color: rgb(102, 62, 196);
/* oklch */ color: oklch(48.9% 0.197 291.1);
Tailwind
colors: {
  custom: {
    50: '#9a76d7',
    500: '#663ec4',
    950: '#000000',
  },
}
SCSS
$custom: #663ec4;
$custom-light: #9a76d7;
$custom-dark: #000000;
JSON
{
  "hex": "#663ec4",
  "rgb": {
    "r": 102,
    "g": 62,
    "b": 196
  },
  "hsl": {
    "h": 257.91,
    "s": 53.175,
    "l": 50.588
  },
  "oklch": {
    "l": 0.4893,
    "c": 0.19655,
    "h": 291.1
  },
  "luminance": 0.10256
}

Semantic roles & 50–950 ramp

primary
#663EC4
secondary
#BBCD91
accent
#DD4BB1
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #663EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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