#663AC9#663AC9

#663AC9 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 48.8% C 0.207 H 290.8°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#663AC9
RGBrgb(102, 58, 201)
HSLhsl(258, 57%, 51%)
HSVhsv(258, 71%, 79%)
CMYKcmyk(49.3%, 71.1%, 0%, 21.2%)
CIE-LABlab(37.96, 52.02, -67.46)
CIE-LCHlch(37.96, 85.19, 307.64°)
OKLaboklab(48.82% 0.0734 -0.1936)
OKLCHoklch(48.82% 0.207 290.8)
XYZxyz(17.5322, 10.0672, 56.2664)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663AC9 #9DC93A
analogous
#3A55C9 #663AC9 #AE3AC9
triadic
#663AC9 #C9663A #3AC966
tetradic
#663AC9 #C93A55 #9DC93A #3AC9AE
square
#663AC9 #C93A55 #9DC93A #3AC9AE
split-complementary
#663AC9 #C9AE3A #55C93A
monochromatic
#351D6B #4D2B9B #663AC9 #8B6AD6 #B19AE3

Accessibility & contrast

On white

6.97
#663AC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#663AC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663AC9
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663AC9#FFFFFF#000000##FFFFFF
##663AC91.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCD
Deuteranopia (green-blind)
#0056C6
Tritanopia (blue-blind)
#455F7E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #663ac9;
/* rgb */ color: rgb(102, 58, 201);
/* oklch */ color: oklch(48.8% 0.207 290.8);
Tailwind
colors: {
  custom: {
    50: '#9b74da',
    500: '#663ac9',
    950: '#000000',
  },
}
SCSS
$custom: #663ac9;
$custom-light: #9b74da;
$custom-dark: #000000;
JSON
{
  "hex": "#663ac9",
  "rgb": {
    "r": 102,
    "g": 58,
    "b": 201
  },
  "hsl": {
    "h": 258.462,
    "s": 56.972,
    "l": 50.784
  },
  "oklch": {
    "l": 0.4882,
    "c": 0.20701,
    "h": 290.8
  },
  "luminance": 0.10068
}

Semantic roles & 50–950 ramp

primary
#663AC9
secondary
#BCCF90
accent
#E048B1
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #663AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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