#663AE3#663AE3

#663AE3 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.1% C 0.236 H 286.6°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#663AE3
RGBrgb(102, 58, 227)
HSLhsl(256, 75%, 56%)
HSVhsv(256, 74%, 89%)
CMYKcmyk(55.1%, 74.4%, 0%, 11%)
CIE-LABlab(40.24, 59.16, -78.69)
CIE-LCHlch(40.24, 98.44, 306.94°)
OKLaboklab(51.12% 0.0674 -0.2265)
OKLCHoklch(51.12% 0.236 286.6)
XYZxyz(20.8535, 11.3958, 73.7589)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663AE3 #B7E33A
analogous
#3A62E3 #663AE3 #BA3AE3
triadic
#663AE3 #E3663A #3AE366
tetradic
#663AE3 #E33A62 #B7E33A #3AE3BA
square
#663AE3 #E33A62 #B7E33A #3AE3BA
split-complementary
#663AE3 #E3BA3A #62E33A
monochromatic
#34148E #481CC4 #663AE3 #9070EB #B9A5F2

Accessibility & contrast

On white

6.40
#663AE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#663AE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663AE3
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663AE3#FFFFFF#000000##FFFFFF
##663AE31.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E8
Deuteranopia (green-blind)
#005AE0
Tritanopia (blue-blind)
#2D698C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #663ae3;
/* rgb */ color: rgb(102, 58, 227);
/* oklch */ color: oklch(51.1% 0.236 286.6);
Tailwind
colors: {
  custom: {
    50: '#9e75ed',
    500: '#663ae3',
    950: '#000000',
  },
}
SCSS
$custom: #663ae3;
$custom-light: #9e75ed;
$custom-dark: #000000;
JSON
{
  "hex": "#663ae3",
  "rgb": {
    "r": 102,
    "g": 58,
    "b": 227
  },
  "hsl": {
    "h": 255.621,
    "s": 75.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.51123,
    "c": 0.2363,
    "h": 286.6
  },
  "luminance": 0.11397
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #663AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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