#663AC4#663AC4

#663AC4 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.4% C 0.201 H 291.7°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#663AC4
RGBrgb(102, 58, 196)
HSLhsl(259, 54%, 50%)
HSVhsv(259, 70%, 77%)
CMYKcmyk(48%, 70.4%, 0%, 23.1%)
CIE-LABlab(37.55, 50.65, -65.22)
CIE-LCHlch(37.55, 82.58, 307.83°)
OKLaboklab(48.4% 0.0744 -0.187)
OKLCHoklch(48.4% 0.201 291.7)
XYZxyz(16.9535, 9.8358, 53.2191)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663AC4 #98C43A
analogous
#3A53C4 #663AC4 #AB3AC4
triadic
#663AC4 #C4663A #3AC466
tetradic
#663AC4 #C43A53 #98C43A #3AC4AB
square
#663AC4 #C43A53 #98C43A #3AC4AB
split-complementary
#663AC4 #C4AB3A #53C43A
monochromatic
#351E66 #4D2C95 #663AC4 #8A69D3 #AF98E0

Accessibility & contrast

On white

7.08
#663AC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#663AC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663AC4
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663AC4#FFFFFF#000000##FFFFFF
##663AC41.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC8
Deuteranopia (green-blind)
#0055C1
Tritanopia (blue-blind)
#485D7B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #663ac4;
/* rgb */ color: rgb(102, 58, 196);
/* oklch */ color: oklch(48.4% 0.201 291.7);
Tailwind
colors: {
  custom: {
    50: '#9a74d7',
    500: '#663ac4',
    950: '#000000',
  },
}
SCSS
$custom: #663ac4;
$custom-light: #9a74d7;
$custom-dark: #000000;
JSON
{
  "hex": "#663ac4",
  "rgb": {
    "r": 102,
    "g": 58,
    "b": 196
  },
  "hsl": {
    "h": 259.13,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.48395,
    "c": 0.20125,
    "h": 291.7
  },
  "luminance": 0.09836
}

Semantic roles & 50–950 ramp

primary
#663AC4
secondary
#B8CC8E
accent
#DE4AAF
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #663AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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