#663AAF#663AAF

#663AAF is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.7% C 0.177 H 296.1°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#663AAF
RGBrgb(102, 58, 175)
HSLhsl(263, 50%, 46%)
HSVhsv(263, 67%, 69%)
CMYKcmyk(41.7%, 66.9%, 0%, 31.4%)
CIE-LABlab(35.88, 44.94, -55.56)
CIE-LCHlch(35.88, 71.46, 308.97°)
OKLaboklab(46.68% 0.0778 -0.1586)
OKLCHoklch(46.68% 0.177 296.1)
XYZxyz(14.7284, 8.9457, 41.4998)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663AAF #83AF3A
analogous
#3A48AF #663AAF #A03AAF
triadic
#663AAF #AF663A #3AAF66
tetradic
#663AAF #AF3A48 #83AF3A #3AAFA0
square
#663AAF #AF3A48 #83AF3A #3AAFA0
split-complementary
#663AAF #AFA03A #48AF3A
monochromatic
#301C53 #4B2B81 #663AAF #865DC9 #A88BD9

Accessibility & contrast

On white

7.53
#663AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#663AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663AAF
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663AAF#FFFFFF#000000##FFFFFF
##663AAF1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#0053AD
Tritanopia (blue-blind)
#53566F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #663aaf;
/* rgb */ color: rgb(102, 58, 175);
/* oklch */ color: oklch(46.7% 0.177 296.1);
Tailwind
colors: {
  custom: {
    50: '#9773c8',
    500: '#663aaf',
    950: '#000000',
  },
}
SCSS
$custom: #663aaf;
$custom-light: #9773c8;
$custom-dark: #000000;
JSON
{
  "hex": "#663aaf",
  "rgb": {
    "r": 102,
    "g": 58,
    "b": 175
  },
  "hsl": {
    "h": 262.564,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46683,
    "c": 0.17665,
    "h": 296.1
  },
  "luminance": 0.08946
}

Semantic roles & 50–950 ramp

primary
#663AAF
secondary
#AAC382
accent
#DA4EA5
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #663AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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