#663BCC#663BCC

#663BCC is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.2% C 0.209 H 290.1°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#663BCC
RGBrgb(102, 59, 204)
HSLhsl(258, 59%, 52%)
HSVhsv(258, 71%, 80%)
CMYKcmyk(50%, 71.1%, 0%, 20%)
CIE-LABlab(38.40, 52.34, -68.49)
CIE-LCHlch(38.40, 86.20, 307.39°)
OKLaboklab(49.21% 0.0719 -0.1966)
OKLCHoklch(49.21% 0.209 290.1)
XYZxyz(17.9394, 10.3116, 58.1601)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663BCC #A1CC3B
analogous
#3B59CC #663BCC #AF3BCC
triadic
#663BCC #CC663B #3BCC66
tetradic
#663BCC #CC3B59 #A1CC3B #3BCCAF
square
#663BCC #CC3B59 #A1CC3B #3BCCAF
split-complementary
#663BCC #CCAF3B #59CC3B
monochromatic
#361D70 #4D2AA0 #663BCC #8C6CD9 #B29CE5

Accessibility & contrast

On white

6.86
#663BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#663BCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663BCC
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663BCC#FFFFFF#000000##FFFFFF
##663BCC1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD0
Deuteranopia (green-blind)
#0057C9
Tritanopia (blue-blind)
#436180
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #663bcc;
/* rgb */ color: rgb(102, 59, 204);
/* oklch */ color: oklch(49.2% 0.209 290.1);
Tailwind
colors: {
  custom: {
    50: '#9b75dd',
    500: '#663bcc',
    950: '#000000',
  },
}
SCSS
$custom: #663bcc;
$custom-light: #9b75dd;
$custom-dark: #000000;
JSON
{
  "hex": "#663bcc",
  "rgb": {
    "r": 102,
    "g": 59,
    "b": 204
  },
  "hsl": {
    "h": 257.793,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.49205,
    "c": 0.20934,
    "h": 290.1
  },
  "luminance": 0.10312
}

Semantic roles & 50–950 ramp

primary
#663BCC
secondary
#BED192
accent
#E246B4
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #663BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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