#663DCB#663DCB

#663DCB is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.4% C 0.206 H 290.0°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#663DCB
RGBrgb(102, 61, 203)
HSLhsl(257, 58%, 52%)
HSVhsv(257, 70%, 80%)
CMYKcmyk(49.8%, 70%, 0%, 20.4%)
CIE-LABlab(38.68, 51.05, -67.45)
CIE-LCHlch(38.68, 84.59, 307.12°)
OKLaboklab(49.38% 0.0703 -0.1935)
OKLCHoklch(49.38% 0.206 290)
XYZxyz(17.9246, 10.4733, 57.5654)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663DCB #A2CB3D
analogous
#3D5BCB #663DCB #AD3DCB
triadic
#663DCB #CB663D #3DCB66
tetradic
#663DCB #CB3D5B #A2CB3D #3DCBAD
square
#663DCB #CB3D5B #A2CB3D #3DCBAD
split-complementary
#663DCB #CBAD3D #5BCB3D
monochromatic
#361E70 #4D2BA0 #663DCB #8C6DD8 #B29EE5

Accessibility & contrast

On white

6.79
#663DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #663DCB
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663DCB#FFFFFF#000000##FFFFFF
##663DCB1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECF
Deuteranopia (green-blind)
#0058C8
Tritanopia (blue-blind)
#436280
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #663dcb;
/* rgb */ color: rgb(102, 61, 203);
/* oklch */ color: oklch(49.4% 0.206 290.0);
Tailwind
colors: {
  custom: {
    50: '#9b76dc',
    500: '#663dcb',
    950: '#000000',
  },
}
SCSS
$custom: #663dcb;
$custom-light: #9b76dc;
$custom-dark: #000000;
JSON
{
  "hex": "#663dcb",
  "rgb": {
    "r": 102,
    "g": 61,
    "b": 203
  },
  "hsl": {
    "h": 257.324,
    "s": 57.724,
    "l": 51.765
  },
  "oklch": {
    "l": 0.4938,
    "c": 0.20592,
    "h": 290
  },
  "luminance": 0.10474
}

Semantic roles & 50–950 ramp

primary
#663DCB
secondary
#BFD193
accent
#E147B4
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #663DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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