#663FBD#663FBD

#663FBD is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.5% C 0.187 H 292.2°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#663FBD
RGBrgb(102, 63, 189)
HSLhsl(259, 50%, 49%)
HSVhsv(259, 67%, 74%)
CMYKcmyk(46%, 66.7%, 0%, 25.9%)
CIE-LABlab(37.94, 46.09, -60.48)
CIE-LCHlch(37.94, 76.05, 307.31°)
OKLaboklab(48.5% 0.0707 -0.1731)
OKLCHoklch(48.5% 0.187 292.2)
XYZxyz(16.4398, 10.0534, 49.2085)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663FBD #96BD3F
analogous
#3F57BD #663FBD #A53FBD
triadic
#663FBD #BD663F #3FBD66
tetradic
#663FBD #BD3F57 #96BD3F #3FBDA5
square
#663FBD #BD3F57 #96BD3F #3FBDA5
split-complementary
#663FBD #BDA53F #57BD3F
monochromatic
#342061 #4D308F #663FBD #8A6BCE #AE99DD

Accessibility & contrast

On white

6.97
#663FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#663FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663FBD
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663FBD#FFFFFF#000000##FFFFFF
##663FBD1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #663fbd;
/* rgb */ color: rgb(102, 63, 189);
/* oklch */ color: oklch(48.5% 0.187 292.2);
Tailwind
colors: {
  custom: {
    50: '#9977d2',
    500: '#663fbd',
    950: '#000000',
  },
}
SCSS
$custom: #663fbd;
$custom-light: #9977d2;
$custom-dark: #000000;
JSON
{
  "hex": "#663fbd",
  "rgb": {
    "r": 102,
    "g": 63,
    "b": 189
  },
  "hsl": {
    "h": 258.571,
    "s": 50,
    "l": 49.412
  },
  "oklch": {
    "l": 0.485,
    "c": 0.18697,
    "h": 292.2
  },
  "luminance": 0.10054
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #663FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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