#663DC8#663DC8

#663DC8 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.1% C 0.202 H 290.5°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#663DC8
RGBrgb(102, 61, 200)
HSLhsl(258, 56%, 51%)
HSVhsv(258, 70%, 78%)
CMYKcmyk(49%, 69.5%, 0%, 21.6%)
CIE-LABlab(38.43, 50.21, -66.11)
CIE-LCHlch(38.43, 83.02, 307.22°)
OKLaboklab(49.13% 0.0709 -0.1896)
OKLCHoklch(49.13% 0.202 290.5)
XYZxyz(17.5706, 10.3317, 55.7008)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663DC8 #9FC83D
analogous
#3D59C8 #663DC8 #AB3DC8
triadic
#663DC8 #C8663D #3DC866
tetradic
#663DC8 #C83D59 #9FC83D #3DC8AB
square
#663DC8 #C83D59 #9FC83D #3DC8AB
split-complementary
#663DC8 #C8AB3D #59C83D
monochromatic
#351F6C #4D2C9C #663DC8 #8C6DD6 #B19CE3

Accessibility & contrast

On white

6.85
#663DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #663DC8
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663DC8#FFFFFF#000000##FFFFFF
##663DC81.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCC
Deuteranopia (green-blind)
#0057C5
Tritanopia (blue-blind)
#45617E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #663dc8;
/* rgb */ color: rgb(102, 61, 200);
/* oklch */ color: oklch(49.1% 0.202 290.5);
Tailwind
colors: {
  custom: {
    50: '#9a76da',
    500: '#663dc8',
    950: '#000000',
  },
}
SCSS
$custom: #663dc8;
$custom-light: #9a76da;
$custom-dark: #000000;
JSON
{
  "hex": "#663dc8",
  "rgb": {
    "r": 102,
    "g": 61,
    "b": 200
  },
  "hsl": {
    "h": 257.698,
    "s": 55.823,
    "l": 51.176
  },
  "oklch": {
    "l": 0.49127,
    "c": 0.20243,
    "h": 290.5
  },
  "luminance": 0.10332
}

Semantic roles & 50–950 ramp

primary
#663DC8
secondary
#BDCF92
accent
#DF49B3
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #663DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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