#663AE2#663AE2

#663AE2 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 51.0% C 0.235 H 286.7°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#663AE2
RGBrgb(102, 58, 226)
HSLhsl(256, 74%, 56%)
HSVhsv(256, 74%, 89%)
CMYKcmyk(54.9%, 74.3%, 0%, 11.4%)
CIE-LABlab(40.15, 58.88, -78.27)
CIE-LCHlch(40.15, 97.94, 306.96°)
OKLaboklab(51.03% 0.0677 -0.2252)
OKLCHoklch(51.03% 0.235 286.7)
XYZxyz(20.7159, 11.3407, 73.0342)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663AE2 #B6E23A
analogous
#3A62E2 #663AE2 #BA3AE2
triadic
#663AE2 #E2663A #3AE266
tetradic
#663AE2 #E23A62 #B6E23A #3AE2BA
square
#663AE2 #E23A62 #B6E23A #3AE2BA
split-complementary
#663AE2 #E2BA3A #62E23A
monochromatic
#34158D #481DC2 #663AE2 #8F6FEA #B9A5F2

Accessibility & contrast

On white

6.43
#663AE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#663AE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663AE2
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663AE2#FFFFFF#000000##FFFFFF
##663AE21.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E7
Deuteranopia (green-blind)
#005ADF
Tritanopia (blue-blind)
#2E698C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #663ae2;
/* rgb */ color: rgb(102, 58, 226);
/* oklch */ color: oklch(51.0% 0.235 286.7);
Tailwind
colors: {
  custom: {
    50: '#9e75ec',
    500: '#663ae2',
    950: '#000000',
  },
}
SCSS
$custom: #663ae2;
$custom-light: #9e75ec;
$custom-dark: #000000;
JSON
{
  "hex": "#663ae2",
  "rgb": {
    "r": 102,
    "g": 58,
    "b": 226
  },
  "hsl": {
    "h": 255.714,
    "s": 74.336,
    "l": 55.686
  },
  "oklch": {
    "l": 0.51032,
    "c": 0.2352,
    "h": 286.7
  },
  "luminance": 0.11342
}

Semantic roles & 50–950 ramp

primary
#663AE2
secondary
#CDDF99
accent
#F137C0
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #663AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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