#663EC5#663EC5

#663EC5 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.0% C 0.198 H 290.9°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#663EC5
RGBrgb(102, 62, 197)
HSLhsl(258, 54%, 51%)
HSVhsv(258, 69%, 77%)
CMYKcmyk(48.2%, 68.5%, 0%, 22.7%)
CIE-LABlab(38.38, 48.85, -64.45)
CIE-LCHlch(38.38, 80.87, 307.16°)
OKLaboklab(49.01% 0.0704 -0.1848)
OKLCHoklch(49.01% 0.198 290.9)
XYZxyz(17.2773, 10.3006, 53.8904)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663EC5 #9DC53E
analogous
#3E59C5 #663EC5 #AA3EC5
triadic
#663EC5 #C5663E #3EC566
tetradic
#663EC5 #C53E59 #9DC53E #3EC5AA
square
#663EC5 #C53E59 #9DC53E #3EC5AA
split-complementary
#663EC5 #C5AA3E #59C53E
monochromatic
#352069 #4D2E98 #663EC5 #8B6DD3 #B19CE1

Accessibility & contrast

On white

6.86
#663EC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#663EC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663EC5
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663EC5#FFFFFF#000000##FFFFFF
##663EC51.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC9
Deuteranopia (green-blind)
#0057C2
Tritanopia (blue-blind)
#47607D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #663ec5;
/* rgb */ color: rgb(102, 62, 197);
/* oklch */ color: oklch(49.0% 0.198 290.9);
Tailwind
colors: {
  custom: {
    50: '#9a76d8',
    500: '#663ec5',
    950: '#000000',
  },
}
SCSS
$custom: #663ec5;
$custom-light: #9a76d8;
$custom-dark: #000000;
JSON
{
  "hex": "#663ec5",
  "rgb": {
    "r": 102,
    "g": 62,
    "b": 197
  },
  "hsl": {
    "h": 257.778,
    "s": 53.785,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49012,
    "c": 0.19773,
    "h": 290.9
  },
  "luminance": 0.10301
}

Semantic roles & 50–950 ramp

primary
#663EC5
secondary
#BCCD91
accent
#DD4BB2
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #663EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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