#663DC5#663DC5

#663DC5 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.9% C 0.199 H 291.0°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#663DC5
RGBrgb(102, 61, 197)
HSLhsl(258, 54%, 51%)
HSVhsv(258, 69%, 77%)
CMYKcmyk(48.2%, 69%, 0%, 22.7%)
CIE-LABlab(38.19, 49.38, -64.76)
CIE-LCHlch(38.19, 81.44, 307.33°)
OKLaboklab(48.88% 0.0714 -0.1857)
OKLCHoklch(48.88% 0.199 291)
XYZxyz(17.2234, 10.1928, 53.8724)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663DC5 #9CC53D
analogous
#3D58C5 #663DC5 #AA3DC5
triadic
#663DC5 #C5663D #3DC566
tetradic
#663DC5 #C53D58 #9CC53D #3DC5AA
square
#663DC5 #C53D58 #9CC53D #3DC5AA
split-complementary
#663DC5 #C5AA3D #58C53D
monochromatic
#351F68 #4D2D98 #663DC5 #8B6CD3 #B09BE1

Accessibility & contrast

On white

6.91
#663DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#663DC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663DC5
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663DC5#FFFFFF#000000##FFFFFF
##663DC51.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC9
Deuteranopia (green-blind)
#0057C2
Tritanopia (blue-blind)
#475F7C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #663dc5;
/* rgb */ color: rgb(102, 61, 197);
/* oklch */ color: oklch(48.9% 0.199 291.0);
Tailwind
colors: {
  custom: {
    50: '#9a76d8',
    500: '#663dc5',
    950: '#000000',
  },
}
SCSS
$custom: #663dc5;
$custom-light: #9a76d8;
$custom-dark: #000000;
JSON
{
  "hex": "#663dc5",
  "rgb": {
    "r": 102,
    "g": 61,
    "b": 197
  },
  "hsl": {
    "h": 258.088,
    "s": 53.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.48876,
    "c": 0.19892,
    "h": 291
  },
  "luminance": 0.10193
}

Semantic roles & 50–950 ramp

primary
#663DC5
secondary
#BBCD91
accent
#DD4AB1
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #663DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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