#663FBC#663FBC

#663FBC is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.4% C 0.186 H 292.4°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#663FBC
RGBrgb(102, 63, 188)
HSLhsl(259, 50%, 49%)
HSVhsv(259, 66%, 74%)
CMYKcmyk(45.7%, 66.5%, 0%, 26.3%)
CIE-LABlab(37.86, 45.81, -60.02)
CIE-LCHlch(37.86, 75.51, 307.35°)
OKLaboklab(48.42% 0.0708 -0.1718)
OKLCHoklch(48.42% 0.186 292.4)
XYZxyz(16.3316, 10.0101, 48.6389)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663FBC #95BC3F
analogous
#3F57BC #663FBC #A53FBC
triadic
#663FBC #BC663F #3FBC66
tetradic
#663FBC #BC3F57 #95BC3F #3FBCA5
square
#663FBC #BC3F57 #95BC3F #3FBCA5
split-complementary
#663FBC #BCA53F #57BC3F
monochromatic
#342060 #4D308E #663FBC #8A6BCD #AE99DD

Accessibility & contrast

On white

6.99
#663FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#663FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663FBC
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663FBC#FFFFFF#000000##FFFFFF
##663FBC1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#0057B9
Tritanopia (blue-blind)
#4C5D78
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #663fbc;
/* rgb */ color: rgb(102, 63, 188);
/* oklch */ color: oklch(48.4% 0.186 292.4);
Tailwind
colors: {
  custom: {
    50: '#9977d1',
    500: '#663fbc',
    950: '#000000',
  },
}
SCSS
$custom: #663fbc;
$custom-light: #9977d1;
$custom-dark: #000000;
JSON
{
  "hex": "#663fbc",
  "rgb": {
    "r": 102,
    "g": 63,
    "b": 188
  },
  "hsl": {
    "h": 258.72,
    "s": 49.801,
    "l": 49.216
  },
  "oklch": {
    "l": 0.4842,
    "c": 0.18577,
    "h": 292.4
  },
  "luminance": 0.10011
}

Semantic roles & 50–950 ramp

primary
#663FBC
secondary
#B6C98E
accent
#D94EAE
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #663FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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