#663AC1#663AC1

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

Color values

HEX#663AC1
RGBrgb(102, 58, 193)
HSLhsl(260, 54%, 49%)
HSVhsv(260, 70%, 76%)
CMYKcmyk(47.2%, 69.9%, 0%, 24.3%)
CIE-LABlab(37.30, 49.83, -63.87)
CIE-LCHlch(37.30, 81.01, 307.96°)
OKLaboklab(48.14% 0.0749 -0.183)
OKLCHoklch(48.14% 0.198 292.3)
XYZxyz(16.6155, 9.7006, 51.4387)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663AC1 #95C13A
analogous
#3A51C1 #663AC1 #AA3AC1
triadic
#663AC1 #C1663A #3AC166
tetradic
#663AC1 #C13A51 #95C13A #3AC1AA
square
#663AC1 #C13A51 #95C13A #3AC1AA
split-complementary
#663AC1 #C1AA3A #51C13A
monochromatic
#341E63 #4D2C92 #663AC1 #8A67D1 #AE96DF

Accessibility & contrast

On white

7.14
#663AC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#663AC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663AC1
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663AC1#FFFFFF#000000##FFFFFF
##663AC11.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC5
Deuteranopia (green-blind)
#0055BE
Tritanopia (blue-blind)
#4A5C79
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #663ac1;
/* rgb */ color: rgb(102, 58, 193);
/* oklch */ color: oklch(48.1% 0.198 292.3);
Tailwind
colors: {
  custom: {
    50: '#9a74d5',
    500: '#663ac1',
    950: '#000000',
  },
}
SCSS
$custom: #663ac1;
$custom-light: #9a74d5;
$custom-dark: #000000;
JSON
{
  "hex": "#663ac1",
  "rgb": {
    "r": 102,
    "g": 58,
    "b": 193
  },
  "hsl": {
    "h": 259.556,
    "s": 53.785,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48143,
    "c": 0.19778,
    "h": 292.3
  },
  "luminance": 0.09701
}

Semantic roles & 50–950 ramp

primary
#663AC1
secondary
#B6CB8C
accent
#DD4BAD
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #663AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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