#663ED0#663ED0

#663ED0 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 49.9% C 0.211 H 289.0°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#663ED0
RGBrgb(102, 62, 208)
HSLhsl(256, 61%, 53%)
HSVhsv(256, 70%, 82%)
CMYKcmyk(51%, 70.2%, 0%, 18.4%)
CIE-LABlab(39.28, 51.92, -69.36)
CIE-LCHlch(39.28, 86.64, 306.82°)
OKLaboklab(49.94% 0.0685 -0.1992)
OKLCHoklch(49.94% 0.211 289)
XYZxyz(18.5840, 10.8233, 60.7722)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663ED0 #A8D03E
analogous
#3E5FD0 #663ED0 #AF3ED0
triadic
#663ED0 #D0663E #3ED066
tetradic
#663ED0 #D03E5F #A8D03E #3ED0AF
square
#663ED0 #D03E5F #A8D03E #3ED0AF
split-complementary
#663ED0 #D0AF3E #5FD03E
monochromatic
#361D77 #4C29A8 #663ED0 #8D6FDC #B4A0E8

Accessibility & contrast

On white

6.64
#663ED0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#663ED0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663ED0
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663ED0#FFFFFF#000000##FFFFFF
##663ED01.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD4
Deuteranopia (green-blind)
#0059CD
Tritanopia (blue-blind)
#3F6483
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #663ed0;
/* rgb */ color: rgb(102, 62, 208);
/* oklch */ color: oklch(49.9% 0.211 289.0);
Tailwind
colors: {
  custom: {
    50: '#9b77df',
    500: '#663ed0',
    950: '#000000',
  },
}
SCSS
$custom: #663ed0;
$custom-light: #9b77df;
$custom-dark: #000000;
JSON
{
  "hex": "#663ed0",
  "rgb": {
    "r": 102,
    "g": 62,
    "b": 208
  },
  "hsl": {
    "h": 256.438,
    "s": 60.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.49938,
    "c": 0.2106,
    "h": 289
  },
  "luminance": 0.10824
}

Semantic roles & 50–950 ramp

primary
#663ED0
secondary
#C3D495
accent
#E444B8
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #663ED0

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

Preview Lab → · Contrast checker → · Palette generator →

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