#663ECD#663ECD

#663ECD is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 49.7% C 0.207 H 289.5°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#663ECD
RGBrgb(102, 62, 205)
HSLhsl(257, 59%, 52%)
HSVhsv(257, 70%, 80%)
CMYKcmyk(50.2%, 69.8%, 0%, 19.6%)
CIE-LABlab(39.03, 51.09, -68.03)
CIE-LCHlch(39.03, 85.08, 306.90°)
OKLaboklab(49.68% 0.069 -0.1953)
OKLCHoklch(49.68% 0.207 289.5)
XYZxyz(18.2184, 10.6770, 58.8467)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663ECD #A5CD3E
analogous
#3E5ECD #663ECD #AD3ECD
triadic
#663ECD #CD663E #3ECD66
tetradic
#663ECD #CD3E5E #A5CD3E #3ECDAD
square
#663ECD #CD3E5E #A5CD3E #3ECDAD
split-complementary
#663ECD #CDAD3E #5ECD3E
monochromatic
#361E73 #4C2AA3 #663ECD #8D6FDA #B39FE6

Accessibility & contrast

On white

6.70
#663ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#663ECD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663ECD
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663ECD#FFFFFF#000000##FFFFFF
##663ECD1.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD1
Deuteranopia (green-blind)
#0058CA
Tritanopia (blue-blind)
#426381
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #663ecd;
/* rgb */ color: rgb(102, 62, 205);
/* oklch */ color: oklch(49.7% 0.207 289.5);
Tailwind
colors: {
  custom: {
    50: '#9b76dd',
    500: '#663ecd',
    950: '#000000',
  },
}
SCSS
$custom: #663ecd;
$custom-light: #9b76dd;
$custom-dark: #000000;
JSON
{
  "hex": "#663ecd",
  "rgb": {
    "r": 102,
    "g": 62,
    "b": 205
  },
  "hsl": {
    "h": 256.783,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.49683,
    "c": 0.20712,
    "h": 289.5
  },
  "luminance": 0.10678
}

Semantic roles & 50–950 ramp

primary
#663ECD
secondary
#C1D394
accent
#E246B6
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #663ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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