#663AC2#663AC2

#663AC2 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.2% C 0.199 H 292.1°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#663AC2
RGBrgb(102, 58, 194)
HSLhsl(259, 54%, 49%)
HSVhsv(259, 70%, 76%)
CMYKcmyk(47.4%, 70.1%, 0%, 23.9%)
CIE-LABlab(37.38, 50.11, -64.32)
CIE-LCHlch(37.38, 81.53, 307.92°)
OKLaboklab(48.23% 0.0747 -0.1844)
OKLCHoklch(48.23% 0.199 292.1)
XYZxyz(16.7274, 9.7454, 52.0282)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663AC2 #96C23A
analogous
#3A52C2 #663AC2 #AA3AC2
triadic
#663AC2 #C2663A #3AC266
tetradic
#663AC2 #C23A52 #96C23A #3AC2AA
square
#663AC2 #C23A52 #96C23A #3AC2AA
split-complementary
#663AC2 #C2AA3A #52C23A
monochromatic
#341E64 #4D2C93 #663AC2 #8A67D2 #AE97E0

Accessibility & contrast

On white

7.12
#663AC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#663AC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663AC2
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663AC2#FFFFFF#000000##FFFFFF
##663AC21.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC6
Deuteranopia (green-blind)
#0055BF
Tritanopia (blue-blind)
#495D7A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #663ac2;
/* rgb */ color: rgb(102, 58, 194);
/* oklch */ color: oklch(48.2% 0.199 292.1);
Tailwind
colors: {
  custom: {
    50: '#9a74d5',
    500: '#663ac2',
    950: '#000000',
  },
}
SCSS
$custom: #663ac2;
$custom-light: #9a74d5;
$custom-dark: #000000;
JSON
{
  "hex": "#663ac2",
  "rgb": {
    "r": 102,
    "g": 58,
    "b": 194
  },
  "hsl": {
    "h": 259.412,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.48226,
    "c": 0.19894,
    "h": 292.1
  },
  "luminance": 0.09746
}

Semantic roles & 50–950 ramp

primary
#663AC2
secondary
#B7CB8D
accent
#DD4AAE
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #663AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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