#663ABE#663ABE

#663ABE is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.9% C 0.194 H 292.9°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#663ABE
RGBrgb(102, 58, 190)
HSLhsl(260, 53%, 49%)
HSVhsv(260, 69%, 75%)
CMYKcmyk(46.3%, 69.5%, 0%, 25.5%)
CIE-LABlab(37.06, 49.01, -62.51)
CIE-LCHlch(37.06, 79.43, 308.10°)
OKLaboklab(47.89% 0.0755 -0.179)
OKLCHoklch(47.89% 0.194 292.9)
XYZxyz(16.2842, 9.5681, 49.6940)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663ABE #92BE3A
analogous
#3A50BE #663ABE #A83ABE
triadic
#663ABE #BE663A #3ABE66
tetradic
#663ABE #BE3A50 #92BE3A #3ABEA8
square
#663ABE #BE3A50 #92BE3A #3ABEA8
split-complementary
#663ABE #BEA83A #50BE3A
monochromatic
#341D60 #4D2C8F #663ABE #8965D0 #AD94DE

Accessibility & contrast

On white

7.21
#663ABE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #663ABE
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663ABE#FFFFFF#000000##FFFFFF
##663ABE1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C2
Deuteranopia (green-blind)
#0055BB
Tritanopia (blue-blind)
#4C5B78
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #663abe;
/* rgb */ color: rgb(102, 58, 190);
/* oklch */ color: oklch(47.9% 0.194 292.9);
Tailwind
colors: {
  custom: {
    50: '#9974d3',
    500: '#663abe',
    950: '#000000',
  },
}
SCSS
$custom: #663abe;
$custom-light: #9974d3;
$custom-dark: #000000;
JSON
{
  "hex": "#663abe",
  "rgb": {
    "r": 102,
    "g": 58,
    "b": 190
  },
  "hsl": {
    "h": 260,
    "s": 53.226,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47893,
    "c": 0.1943,
    "h": 292.9
  },
  "luminance": 0.09569
}

Semantic roles & 50–950 ramp

primary
#663ABE
secondary
#B4CA8A
accent
#DD4BAC
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #663ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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