#663DCC#663DCC

#663DCC is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.5% C 0.207 H 289.8°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#663DCC
RGBrgb(102, 61, 204)
HSLhsl(257, 58%, 52%)
HSVhsv(257, 70%, 80%)
CMYKcmyk(50%, 70.1%, 0%, 20%)
CIE-LABlab(38.76, 51.32, -67.89)
CIE-LCHlch(38.76, 85.11, 307.09°)
OKLaboklab(49.47% 0.0701 -0.1949)
OKLCHoklch(49.47% 0.207 289.8)
XYZxyz(18.0442, 10.5211, 58.1951)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663DCC #A3CC3D
analogous
#3D5CCC #663DCC #AE3DCC
triadic
#663DCC #CC663D #3DCC66
tetradic
#663DCC #CC3D5C #A3CC3D #3DCCAE
square
#663DCC #CC3D5C #A3CC3D #3DCCAE
split-complementary
#663DCC #CCAE3D #5CCC3D
monochromatic
#361E71 #4D2AA1 #663DCC #8C6DD9 #B29EE5

Accessibility & contrast

On white

6.76
#663DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#663DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663DCC
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663DCC#FFFFFF#000000##FFFFFF
##663DCC1.006.763.106.76
#FFFFFF6.761.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED0
Deuteranopia (green-blind)
#0058C9
Tritanopia (blue-blind)
#426280
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #663dcc;
/* rgb */ color: rgb(102, 61, 204);
/* oklch */ color: oklch(49.5% 0.207 289.8);
Tailwind
colors: {
  custom: {
    50: '#9b76dd',
    500: '#663dcc',
    950: '#000000',
  },
}
SCSS
$custom: #663dcc;
$custom-light: #9b76dd;
$custom-dark: #000000;
JSON
{
  "hex": "#663dcc",
  "rgb": {
    "r": 102,
    "g": 61,
    "b": 204
  },
  "hsl": {
    "h": 257.203,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.49465,
    "c": 0.20709,
    "h": 289.8
  },
  "luminance": 0.10522
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #663DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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