#663AC0#663AC0

#663AC0 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.1% C 0.197 H 292.5°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#663AC0
RGBrgb(102, 58, 192)
HSLhsl(260, 54%, 49%)
HSVhsv(260, 70%, 75%)
CMYKcmyk(46.9%, 69.8%, 0%, 24.7%)
CIE-LABlab(37.22, 49.56, -63.42)
CIE-LCHlch(37.22, 80.49, 308.01°)
OKLaboklab(48.06% 0.0751 -0.1817)
OKLCHoklch(48.06% 0.197 292.5)
XYZxyz(16.5043, 9.6561, 50.8532)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663AC0 #94C03A
analogous
#3A51C0 #663AC0 #A93AC0
triadic
#663AC0 #C0663A #3AC066
tetradic
#663AC0 #C03A51 #94C03A #3AC0A9
square
#663AC0 #C03A51 #94C03A #3AC0A9
split-complementary
#663AC0 #C0A93A #51C03A
monochromatic
#341E62 #4D2C91 #663AC0 #8966D1 #AE95DF

Accessibility & contrast

On white

7.16
#663AC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#663AC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663AC0
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663AC0#FFFFFF#000000##FFFFFF
##663AC01.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C4
Deuteranopia (green-blind)
#0055BD
Tritanopia (blue-blind)
#4A5C79
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #663ac0;
/* rgb */ color: rgb(102, 58, 192);
/* oklch */ color: oklch(48.1% 0.197 292.5);
Tailwind
colors: {
  custom: {
    50: '#9974d4',
    500: '#663ac0',
    950: '#000000',
  },
}
SCSS
$custom: #663ac0;
$custom-light: #9974d4;
$custom-dark: #000000;
JSON
{
  "hex": "#663ac0",
  "rgb": {
    "r": 102,
    "g": 58,
    "b": 192
  },
  "hsl": {
    "h": 259.701,
    "s": 53.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.48059,
    "c": 0.19662,
    "h": 292.5
  },
  "luminance": 0.09657
}

Semantic roles & 50–950 ramp

primary
#663AC0
secondary
#B6CA8B
accent
#DD4BAD
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #663AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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