#663ACB#663ACB

#663ACB is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.0% C 0.209 H 290.4°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#663ACB
RGBrgb(102, 58, 203)
HSLhsl(258, 58%, 51%)
HSVhsv(258, 71%, 80%)
CMYKcmyk(49.8%, 71.4%, 0%, 20.4%)
CIE-LABlab(38.13, 52.57, -68.34)
CIE-LCHlch(38.13, 86.22, 307.57°)
OKLaboklab(48.99% 0.073 -0.1962)
OKLCHoklch(48.99% 0.209 290.4)
XYZxyz(17.7690, 10.1620, 57.5135)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663ACB #9FCB3A
analogous
#3A56CB #663ACB #AE3ACB
triadic
#663ACB #CB663A #3ACB66
tetradic
#663ACB #CB3A56 #9FCB3A #3ACBAE
square
#663ACB #CB3A56 #9FCB3A #3ACBAE
split-complementary
#663ACB #CBAE3A #56CB3A
monochromatic
#351D6E #4D2A9E #663ACB #8C6AD8 #B19BE5

Accessibility & contrast

On white

6.92
#663ACB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#663ACB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663ACB
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663ACB#FFFFFF#000000##FFFFFF
##663ACB1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCF
Deuteranopia (green-blind)
#0056C8
Tritanopia (blue-blind)
#43607F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #663acb;
/* rgb */ color: rgb(102, 58, 203);
/* oklch */ color: oklch(49.0% 0.209 290.4);
Tailwind
colors: {
  custom: {
    50: '#9b74dc',
    500: '#663acb',
    950: '#000000',
  },
}
SCSS
$custom: #663acb;
$custom-light: #9b74dc;
$custom-dark: #000000;
JSON
{
  "hex": "#663acb",
  "rgb": {
    "r": 102,
    "g": 58,
    "b": 203
  },
  "hsl": {
    "h": 258.207,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48991,
    "c": 0.2093,
    "h": 290.4
  },
  "luminance": 0.10163
}

Semantic roles & 50–950 ramp

primary
#663ACB
secondary
#BDD090
accent
#E146B2
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #663ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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