#663AE0#663AE0

#663AE0 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.8% C 0.233 H 287.0°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#663AE0
RGBrgb(102, 58, 224)
HSLhsl(256, 73%, 55%)
HSVhsv(256, 74%, 88%)
CMYKcmyk(54.5%, 74.1%, 0%, 12.2%)
CIE-LABlab(39.97, 58.33, -77.42)
CIE-LCHlch(39.97, 96.94, 307.00°)
OKLaboklab(50.85% 0.0682 -0.2228)
OKLCHoklch(50.85% 0.233 287)
XYZxyz(20.4431, 11.2316, 71.5973)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663AE0 #B4E03A
analogous
#3A61E0 #663AE0 #B93AE0
triadic
#663AE0 #E0663A #3AE066
tetradic
#663AE0 #E03A61 #B4E03A #3AE0B9
square
#663AE0 #E03A61 #B4E03A #3AE0B9
split-complementary
#663AE0 #E0B93A #61E03A
monochromatic
#35168A #491EBF #663AE0 #8F6FE8 #B8A4F1

Accessibility & contrast

On white

6.47
#663AE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#663AE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663AE0
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663AE0#FFFFFF#000000##FFFFFF
##663AE01.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E5
Deuteranopia (green-blind)
#0059DD
Tritanopia (blue-blind)
#31688B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #663ae0;
/* rgb */ color: rgb(102, 58, 224);
/* oklch */ color: oklch(50.8% 0.233 287.0);
Tailwind
colors: {
  custom: {
    50: '#9e75eb',
    500: '#663ae0',
    950: '#000000',
  },
}
SCSS
$custom: #663ae0;
$custom-light: #9e75eb;
$custom-dark: #000000;
JSON
{
  "hex": "#663ae0",
  "rgb": {
    "r": 102,
    "g": 58,
    "b": 224
  },
  "hsl": {
    "h": 255.904,
    "s": 72.807,
    "l": 55.294
  },
  "oklch": {
    "l": 0.5085,
    "c": 0.23296,
    "h": 287
  },
  "luminance": 0.11233
}

Semantic roles & 50–950 ramp

primary
#663AE0
secondary
#CBDE98
accent
#EF38BF
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #663AE0

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

Preview Lab → · Contrast checker → · Palette generator →

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