#663DCD#663DCD

#663DCD is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.5% C 0.208 H 289.6°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#663DCD
RGBrgb(102, 61, 205)
HSLhsl(257, 59%, 52%)
HSVhsv(257, 70%, 80%)
CMYKcmyk(50.2%, 70.2%, 0%, 19.6%)
CIE-LABlab(38.85, 51.60, -68.33)
CIE-LCHlch(38.85, 85.63, 307.06°)
OKLaboklab(49.55% 0.0699 -0.1962)
OKLCHoklch(49.55% 0.208 289.6)
XYZxyz(18.1645, 10.5693, 58.8287)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663DCD #A4CD3D
analogous
#3D5CCD #663DCD #AE3DCD
triadic
#663DCD #CD663D #3DCD66
tetradic
#663DCD #CD3D5C #A4CD3D #3DCDAE
square
#663DCD #CD3D5C #A4CD3D #3DCDAE
split-complementary
#663DCD #CDAE3D #5CCD3D
monochromatic
#361D72 #4C2AA3 #663DCD #8C6EDA #B39EE6

Accessibility & contrast

On white

6.74
#663DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#663DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663DCD
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663DCD#FFFFFF#000000##FFFFFF
##663DCD1.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED1
Deuteranopia (green-blind)
#0058CA
Tritanopia (blue-blind)
#426281
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #663dcd;
/* rgb */ color: rgb(102, 61, 205);
/* oklch */ color: oklch(49.5% 0.208 289.6);
Tailwind
colors: {
  custom: {
    50: '#9b76dd',
    500: '#663dcd',
    950: '#000000',
  },
}
SCSS
$custom: #663dcd;
$custom-light: #9b76dd;
$custom-dark: #000000;
JSON
{
  "hex": "#663dcd",
  "rgb": {
    "r": 102,
    "g": 61,
    "b": 205
  },
  "hsl": {
    "h": 257.083,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.4955,
    "c": 0.20825,
    "h": 289.6
  },
  "luminance": 0.1057
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #663DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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