#663DCA#663DCA

#663DCA is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.3% C 0.205 H 290.1°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#663DCA
RGBrgb(102, 61, 202)
HSLhsl(257, 57%, 52%)
HSVhsv(257, 70%, 79%)
CMYKcmyk(49.5%, 69.8%, 0%, 20.8%)
CIE-LABlab(38.60, 50.77, -67.00)
CIE-LCHlch(38.60, 84.06, 307.15°)
OKLaboklab(49.3% 0.0705 -0.1922)
OKLCHoklch(49.3% 0.205 290.1)
XYZxyz(17.8058, 10.4258, 56.9398)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663DCA #A1CA3D
analogous
#3D5BCA #663DCA #AD3DCA
triadic
#663DCA #CA663D #3DCA66
tetradic
#663DCA #CA3D5B #A1CA3D #3DCAAD
square
#663DCA #CA3D5B #A1CA3D #3DCAAD
split-complementary
#663DCA #CAAD3D #5BCA3D
monochromatic
#361E6E #4D2B9F #663DCA #8C6DD7 #B29DE4

Accessibility & contrast

On white

6.81
#663DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#663DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663DCA
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663DCA#FFFFFF#000000##FFFFFF
##663DCA1.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCE
Deuteranopia (green-blind)
#0058C7
Tritanopia (blue-blind)
#44617F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #663dca;
/* rgb */ color: rgb(102, 61, 202);
/* oklch */ color: oklch(49.3% 0.205 290.1);
Tailwind
colors: {
  custom: {
    50: '#9a76db',
    500: '#663dca',
    950: '#000000',
  },
}
SCSS
$custom: #663dca;
$custom-light: #9a76db;
$custom-dark: #000000;
JSON
{
  "hex": "#663dca",
  "rgb": {
    "r": 102,
    "g": 61,
    "b": 202
  },
  "hsl": {
    "h": 257.447,
    "s": 57.085,
    "l": 51.569
  },
  "oklch": {
    "l": 0.49296,
    "c": 0.20477,
    "h": 290.1
  },
  "luminance": 0.10427
}

Semantic roles & 50–950 ramp

primary
#663DCA
secondary
#BED092
accent
#E047B4
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #663DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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