#663EC8#663EC8

#663EC8 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.3% C 0.201 H 290.3°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#663EC8
RGBrgb(102, 62, 200)
HSLhsl(257, 56%, 51%)
HSVhsv(257, 69%, 78%)
CMYKcmyk(49%, 69%, 0%, 21.6%)
CIE-LABlab(38.62, 49.69, -65.80)
CIE-LCHlch(38.62, 82.45, 307.06°)
OKLaboklab(49.26% 0.0699 -0.1887)
OKLCHoklch(49.26% 0.201 290.3)
XYZxyz(17.6245, 10.4395, 55.7188)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663EC8 #A0C83E
analogous
#3E5BC8 #663EC8 #AB3EC8
triadic
#663EC8 #C8663E #3EC866
tetradic
#663EC8 #C83E5B #A0C83E #3EC8AB
square
#663EC8 #C83E5B #A0C83E #3EC8AB
split-complementary
#663EC8 #C8AB3E #5BC83E
monochromatic
#351F6D #4D2D9C #663EC8 #8C6ED6 #B29DE3

Accessibility & contrast

On white

6.80
#663EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#663EC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663EC8
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663EC8#FFFFFF#000000##FFFFFF
##663EC81.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #663ec8;
/* rgb */ color: rgb(102, 62, 200);
/* oklch */ color: oklch(49.3% 0.201 290.3);
Tailwind
colors: {
  custom: {
    50: '#9a76da',
    500: '#663ec8',
    950: '#000000',
  },
}
SCSS
$custom: #663ec8;
$custom-light: #9a76da;
$custom-dark: #000000;
JSON
{
  "hex": "#663ec8",
  "rgb": {
    "r": 102,
    "g": 62,
    "b": 200
  },
  "hsl": {
    "h": 257.391,
    "s": 55.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.49262,
    "c": 0.20126,
    "h": 290.3
  },
  "luminance": 0.1044
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #663EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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