#663CA2#663CA2

#663CA2 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.0% C 0.158 H 299.0°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#663CA2
RGBrgb(102, 60, 162)
HSLhsl(265, 46%, 44%)
HSVhsv(265, 63%, 64%)
CMYKcmyk(37%, 63%, 0%, 36.5%)
CIE-LABlab(35.33, 40.36, -48.67)
CIE-LCHlch(35.33, 63.23, 309.67°)
OKLaboklab(45.99% 0.0767 -0.1384)
OKLCHoklch(45.99% 0.158 299)
XYZxyz(13.6153, 8.6650, 35.1306)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663CA2 #78A23C
analogous
#3C45A2 #663CA2 #993CA2
triadic
#663CA2 #A2663C #3CA266
tetradic
#663CA2 #A23C45 #78A23C #3CA299
square
#663CA2 #A23C45 #78A23C #3CA299
split-complementary
#663CA2 #A2993C #45A23C
monochromatic
#2E1B49 #4A2B75 #663CA2 #8459C2 #A586D2

Accessibility & contrast

On white

7.68
#663CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#663CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663CA2
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663CA2#FFFFFF#000000##FFFFFF
##663CA21.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#1052A0
Tritanopia (blue-blind)
#595269
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #663ca2;
/* rgb */ color: rgb(102, 60, 162);
/* oklch */ color: oklch(46.0% 0.158 299.0);
Tailwind
colors: {
  custom: {
    50: '#9674be',
    500: '#663ca2',
    950: '#000000',
  },
}
SCSS
$custom: #663ca2;
$custom-light: #9674be;
$custom-dark: #000000;
JSON
{
  "hex": "#663ca2",
  "rgb": {
    "r": 102,
    "g": 60,
    "b": 162
  },
  "hsl": {
    "h": 264.706,
    "s": 45.946,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45986,
    "c": 0.15822,
    "h": 299
  },
  "luminance": 0.08665
}

Semantic roles & 50–950 ramp

primary
#663CA2
secondary
#A2BC7D
accent
#D6529F
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #663CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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