#663ED3#663ED3

#663ED3 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.2% C 0.214 H 288.5°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#663ED3
RGBrgb(102, 62, 211)
HSLhsl(256, 63%, 54%)
HSVhsv(256, 71%, 83%)
CMYKcmyk(51.7%, 70.6%, 0%, 17.3%)
CIE-LABlab(39.53, 52.76, -70.67)
CIE-LCHlch(39.53, 88.20, 306.74°)
OKLaboklab(50.2% 0.0679 -0.203)
OKLCHoklch(50.2% 0.214 288.5)
XYZxyz(18.9565, 10.9723, 62.7344)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663ED3 #ABD33E
analogous
#3E60D3 #663ED3 #B03ED3
triadic
#663ED3 #D3663E #3ED366
tetradic
#663ED3 #D33E60 #ABD33E #3ED3B0
square
#663ED3 #D33E60 #ABD33E #3ED3B0
split-complementary
#663ED3 #D3B03E #60D33E
monochromatic
#351C7B #4B27AC #663ED3 #8E70DE #B5A2EA

Accessibility & contrast

On white

6.57
#663ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#663ED3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663ED3
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663ED3#FFFFFF#000000##FFFFFF
##663ED31.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D7
Deuteranopia (green-blind)
#0059D0
Tritanopia (blue-blind)
#3D6584
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #663ed3;
/* rgb */ color: rgb(102, 62, 211);
/* oklch */ color: oklch(50.2% 0.214 288.5);
Tailwind
colors: {
  custom: {
    50: '#9c77e2',
    500: '#663ed3',
    950: '#000000',
  },
}
SCSS
$custom: #663ed3;
$custom-light: #9c77e2;
$custom-dark: #000000;
JSON
{
  "hex": "#663ed3",
  "rgb": {
    "r": 102,
    "g": 62,
    "b": 211
  },
  "hsl": {
    "h": 256.107,
    "s": 62.869,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50196,
    "c": 0.21408,
    "h": 288.5
  },
  "luminance": 0.10973
}

Semantic roles & 50–950 ramp

primary
#663ED3
secondary
#C5D696
accent
#E642BA
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0915
muted
#7F7B84

Preview Lab

Preview with #663ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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