#663BCD#663BCD

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

Color values

HEX#663BCD
RGBrgb(102, 59, 205)
HSLhsl(258, 59%, 52%)
HSVhsv(258, 71%, 80%)
CMYKcmyk(50.2%, 71.2%, 0%, 19.6%)
CIE-LABlab(38.48, 52.62, -68.93)
CIE-LCHlch(38.48, 86.72, 307.36°)
OKLaboklab(49.29% 0.0717 -0.1979)
OKLCHoklch(49.29% 0.21 289.9)
XYZxyz(18.0597, 10.3597, 58.7938)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663BCD #A2CD3B
analogous
#3B59CD #663BCD #AF3BCD
triadic
#663BCD #CD663B #3BCD66
tetradic
#663BCD #CD3B59 #A2CD3B #3BCDAF
square
#663BCD #CD3B59 #A2CD3B #3BCDAF
split-complementary
#663BCD #CDAF3B #59CD3B
monochromatic
#361D71 #4D29A2 #663BCD #8C6CD9 #B29DE6

Accessibility & contrast

On white

6.84
#663BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#663BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663BCD
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663BCD#FFFFFF#000000##FFFFFF
##663BCD1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD1
Deuteranopia (green-blind)
#0057CA
Tritanopia (blue-blind)
#426180
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #663bcd;
/* rgb */ color: rgb(102, 59, 205);
/* oklch */ color: oklch(49.3% 0.210 289.9);
Tailwind
colors: {
  custom: {
    50: '#9b75dd',
    500: '#663bcd',
    950: '#000000',
  },
}
SCSS
$custom: #663bcd;
$custom-light: #9b75dd;
$custom-dark: #000000;
JSON
{
  "hex": "#663bcd",
  "rgb": {
    "r": 102,
    "g": 59,
    "b": 205
  },
  "hsl": {
    "h": 257.671,
    "s": 59.35,
    "l": 51.765
  },
  "oklch": {
    "l": 0.49291,
    "c": 0.21048,
    "h": 289.9
  },
  "luminance": 0.1036
}

Semantic roles & 50–950 ramp

primary
#663BCD
secondary
#BFD292
accent
#E345B4
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #663BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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