#663EBC#663EBC

#663EBC is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.3% C 0.187 H 292.6°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#663EBC
RGBrgb(102, 62, 188)
HSLhsl(259, 50%, 49%)
HSVhsv(259, 67%, 74%)
CMYKcmyk(45.7%, 67%, 0%, 26.3%)
CIE-LABlab(37.66, 46.35, -60.35)
CIE-LCHlch(37.66, 76.09, 307.53°)
OKLaboklab(48.28% 0.0718 -0.1727)
OKLCHoklch(48.28% 0.187 292.6)
XYZxyz(16.2767, 9.9004, 48.6206)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663EBC #94BC3E
analogous
#3E55BC #663EBC #A53EBC
triadic
#663EBC #BC663E #3EBC66
tetradic
#663EBC #BC3E55 #94BC3E #3EBCA5
square
#663EBC #BC3E55 #94BC3E #3EBCA5
split-complementary
#663EBC #BCA53E #55BC3E
monochromatic
#342060 #4D2F8E #663EBC #896ACE #AE98DD

Accessibility & contrast

On white

7.05
#663EBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#663EBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663EBC
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663EBC#FFFFFF#000000##FFFFFF
##663EBC1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #663ebc;
/* rgb */ color: rgb(102, 62, 188);
/* oklch */ color: oklch(48.3% 0.187 292.6);
Tailwind
colors: {
  custom: {
    50: '#9976d1',
    500: '#663ebc',
    950: '#000000',
  },
}
SCSS
$custom: #663ebc;
$custom-light: #9976d1;
$custom-dark: #000000;
JSON
{
  "hex": "#663ebc",
  "rgb": {
    "r": 102,
    "g": 62,
    "b": 188
  },
  "hsl": {
    "h": 259.048,
    "s": 50.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.48278,
    "c": 0.18703,
    "h": 292.6
  },
  "luminance": 0.09901
}

Semantic roles & 50–950 ramp

primary
#663EBC
secondary
#B6C98D
accent
#DA4EAD
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0914
muted
#7E7B83

Preview Lab

Preview with #663EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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