#663CAF#663CAF

#663CAF is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.0% C 0.174 H 295.7°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#663CAF
RGBrgb(102, 60, 175)
HSLhsl(262, 49%, 46%)
HSVhsv(262, 66%, 69%)
CMYKcmyk(41.7%, 65.7%, 0%, 31.4%)
CIE-LABlab(36.27, 43.87, -54.92)
CIE-LCHlch(36.27, 70.29, 308.61°)
OKLaboklab(46.97% 0.0756 -0.1567)
OKLCHoklch(46.97% 0.174 295.7)
XYZxyz(14.8312, 9.1513, 41.5341)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663CAF #85AF3C
analogous
#3C4BAF #663CAF #9F3CAF
triadic
#663CAF #AF663C #3CAF66
tetradic
#663CAF #AF3C4B #85AF3C #3CAF9F
square
#663CAF #AF3C4B #85AF3C #3CAF9F
split-complementary
#663CAF #AF9F3C #4BAF3C
monochromatic
#311D54 #4B2C81 #663CAF #8660C8 #A98DD8

Accessibility & contrast

On white

7.42
#663CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#663CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663CAF
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663CAF#FFFFFF#000000##FFFFFF
##663CAF1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#535770
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #663caf;
/* rgb */ color: rgb(102, 60, 175);
/* oklch */ color: oklch(47.0% 0.174 295.7);
Tailwind
colors: {
  custom: {
    50: '#9774c8',
    500: '#663caf',
    950: '#000000',
  },
}
SCSS
$custom: #663caf;
$custom-light: #9774c8;
$custom-dark: #000000;
JSON
{
  "hex": "#663caf",
  "rgb": {
    "r": 102,
    "g": 60,
    "b": 175
  },
  "hsl": {
    "h": 261.913,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46967,
    "c": 0.17401,
    "h": 295.7
  },
  "luminance": 0.09152
}

Semantic roles & 50–950 ramp

primary
#663CAF
secondary
#ACC384
accent
#D84FA6
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #663CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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