#663ABD#663ABD

#663ABD is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.8% C 0.193 H 293.1°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#663ABD
RGBrgb(102, 58, 189)
HSLhsl(260, 53%, 48%)
HSVhsv(260, 69%, 74%)
CMYKcmyk(46%, 69.3%, 0%, 25.9%)
CIE-LABlab(36.98, 48.74, -62.05)
CIE-LCHlch(36.98, 78.91, 308.15°)
OKLaboklab(47.81% 0.0756 -0.1777)
OKLCHoklch(47.81% 0.193 293.1)
XYZxyz(16.1753, 9.5245, 49.1204)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663ABD #91BD3A
analogous
#3A4FBD #663ABD #A73ABD
triadic
#663ABD #BD663A #3ABD66
tetradic
#663ABD #BD3A4F #91BD3A #3ABDA7
square
#663ABD #BD3A4F #91BD3A #3ABDA7
split-complementary
#663ABD #BDA73A #4FBD3A
monochromatic
#331D5F #4D2C8E #663ABD #8965D0 #AC93DE

Accessibility & contrast

On white

7.23
#663ABD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#663ABD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663ABD
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663ABD#FFFFFF#000000##FFFFFF
##663ABD1.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C1
Deuteranopia (green-blind)
#0055BA
Tritanopia (blue-blind)
#4C5B77
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #663abd;
/* rgb */ color: rgb(102, 58, 189);
/* oklch */ color: oklch(47.8% 0.193 293.1);
Tailwind
colors: {
  custom: {
    50: '#9973d2',
    500: '#663abd',
    950: '#000000',
  },
}
SCSS
$custom: #663abd;
$custom-light: #9973d2;
$custom-dark: #000000;
JSON
{
  "hex": "#663abd",
  "rgb": {
    "r": 102,
    "g": 58,
    "b": 189
  },
  "hsl": {
    "h": 260.153,
    "s": 53.036,
    "l": 48.431
  },
  "oklch": {
    "l": 0.4781,
    "c": 0.19313,
    "h": 293.1
  },
  "luminance": 0.09525
}

Semantic roles & 50–950 ramp

primary
#663ABD
secondary
#B4C98A
accent
#DC4BAC
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #663ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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