#663CA0#663CA0

#663CA0 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 45.8% C 0.156 H 299.6°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#663CA0
RGBrgb(102, 60, 160)
HSLhsl(265, 45%, 43%)
HSVhsv(265, 63%, 63%)
CMYKcmyk(36.2%, 62.5%, 0%, 37.3%)
CIE-LABlab(35.19, 39.83, -47.69)
CIE-LCHlch(35.19, 62.14, 309.87°)
OKLaboklab(45.84% 0.0768 -0.1355)
OKLCHoklch(45.84% 0.156 299.6)
XYZxyz(13.4390, 8.5944, 34.2018)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663CA0 #76A03C
analogous
#3C44A0 #663CA0 #983CA0
triadic
#663CA0 #A0663C #3CA066
tetradic
#663CA0 #A03C44 #76A03C #3CA098
square
#663CA0 #A03C44 #76A03C #3CA098
split-complementary
#663CA0 #A0983C #44A03C
monochromatic
#2D1B47 #4A2B73 #663CA0 #8459C1 #A585D1

Accessibility & contrast

On white

7.72
#663CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#663CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663CA0
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663CA0#FFFFFF#000000##FFFFFF
##663CA01.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A3
Deuteranopia (green-blind)
#15529E
Tritanopia (blue-blind)
#595268
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #663ca0;
/* rgb */ color: rgb(102, 60, 160);
/* oklch */ color: oklch(45.8% 0.156 299.6);
Tailwind
colors: {
  custom: {
    50: '#9674bd',
    500: '#663ca0',
    950: '#000000',
  },
}
SCSS
$custom: #663ca0;
$custom-light: #9674bd;
$custom-dark: #000000;
JSON
{
  "hex": "#663ca0",
  "rgb": {
    "r": 102,
    "g": 60,
    "b": 160
  },
  "hsl": {
    "h": 265.2,
    "s": 45.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4584,
    "c": 0.15576,
    "h": 299.6
  },
  "luminance": 0.08595
}

Semantic roles & 50–950 ramp

primary
#663CA0
secondary
#A1BB7C
accent
#D5539E
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #663CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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