#663ABB#663ABB

#663ABB is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.6% C 0.191 H 293.5°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#663ABB
RGBrgb(102, 58, 187)
HSLhsl(260, 53%, 48%)
HSVhsv(260, 69%, 73%)
CMYKcmyk(45.5%, 69%, 0%, 26.7%)
CIE-LABlab(36.81, 48.20, -61.14)
CIE-LCHlch(36.81, 77.85, 308.25°)
OKLaboklab(47.65% 0.076 -0.175)
OKLCHoklch(47.65% 0.191 293.5)
XYZxyz(15.9597, 9.4383, 47.9850)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663ABB #8FBB3A
analogous
#3A4EBB #663ABB #A63ABB
triadic
#663ABB #BB663A #3ABB66
tetradic
#663ABB #BB3A4E #8FBB3A #3ABBA6
square
#663ABB #BB3A4E #8FBB3A #3ABBA6
split-complementary
#663ABB #BBA63A #4EBB3A
monochromatic
#331D5E #4D2C8C #663ABB #8863CF #AC92DD

Accessibility & contrast

On white

7.27
#663ABB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#663ABB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663ABB
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663ABB#FFFFFF#000000##FFFFFF
##663ABB1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#4D5A76
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #663abb;
/* rgb */ color: rgb(102, 58, 187);
/* oklch */ color: oklch(47.6% 0.191 293.5);
Tailwind
colors: {
  custom: {
    50: '#9973d0',
    500: '#663abb',
    950: '#000000',
  },
}
SCSS
$custom: #663abb;
$custom-light: #9973d0;
$custom-dark: #000000;
JSON
{
  "hex": "#663abb",
  "rgb": {
    "r": 102,
    "g": 58,
    "b": 187
  },
  "hsl": {
    "h": 260.465,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.47646,
    "c": 0.1908,
    "h": 293.5
  },
  "luminance": 0.09439
}

Semantic roles & 50–950 ramp

primary
#663ABB
secondary
#B3C888
accent
#DC4CAB
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0814
muted
#7E7B82

Preview Lab

Preview with #663ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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