#663EBD#663EBD

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

Color values

HEX#663EBD
RGBrgb(102, 62, 189)
HSLhsl(259, 51%, 49%)
HSVhsv(259, 67%, 74%)
CMYKcmyk(46%, 67.2%, 0%, 25.9%)
CIE-LABlab(37.74, 46.63, -60.81)
CIE-LCHlch(37.74, 76.63, 307.48°)
OKLaboklab(48.36% 0.0717 -0.174)
OKLCHoklch(48.36% 0.188 292.4)
XYZxyz(16.3849, 9.9436, 49.1903)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663EBD #95BD3E
analogous
#3E55BD #663EBD #A63EBD
triadic
#663EBD #BD663E #3EBD66
tetradic
#663EBD #BD3E55 #95BD3E #3EBDA6
square
#663EBD #BD3E55 #95BD3E #3EBDA6
split-complementary
#663EBD #BDA63E #55BD3E
monochromatic
#342061 #4D2F8F #663EBD #8A6ACE #AE98DD

Accessibility & contrast

On white

7.03
#663EBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#663EBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663EBD
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663EBD#FFFFFF#000000##FFFFFF
##663EBD1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #663ebd;
/* rgb */ color: rgb(102, 62, 189);
/* oklch */ color: oklch(48.4% 0.188 292.4);
Tailwind
colors: {
  custom: {
    50: '#9976d2',
    500: '#663ebd',
    950: '#000000',
  },
}
SCSS
$custom: #663ebd;
$custom-light: #9976d2;
$custom-dark: #000000;
JSON
{
  "hex": "#663ebd",
  "rgb": {
    "r": 102,
    "g": 62,
    "b": 189
  },
  "hsl": {
    "h": 258.898,
    "s": 50.598,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48359,
    "c": 0.18823,
    "h": 292.4
  },
  "luminance": 0.09944
}

Semantic roles & 50–950 ramp

primary
#663EBD
secondary
#B6C98E
accent
#DA4EAE
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0914
muted
#7E7B83

Preview Lab

Preview with #663EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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