#663BD2#663BD2

#663BD2 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.7% C 0.216 H 289.1°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#663BD2
RGBrgb(102, 59, 210)
HSLhsl(257, 63%, 53%)
HSVhsv(257, 72%, 82%)
CMYKcmyk(51.4%, 71.9%, 0%, 17.6%)
CIE-LABlab(38.91, 54.00, -71.12)
CIE-LCHlch(38.91, 89.30, 307.21°)
OKLaboklab(49.73% 0.0706 -0.2043)
OKLCHoklch(49.73% 0.216 289.1)
XYZxyz(18.6729, 10.6050, 62.0233)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663BD2 #A7D23B
analogous
#3B5BD2 #663BD2 #B13BD2
triadic
#663BD2 #D2663B #3BD266
tetradic
#663BD2 #D23B5B #A7D23B #3BD2B1
square
#663BD2 #D23B5B #A7D23B #3BD2B1
split-complementary
#663BD2 #D2B13B #5BD23B
monochromatic
#361B77 #4C27A9 #663BD2 #8D6DDD #B49FE9

Accessibility & contrast

On white

6.73
#663BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#663BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663BD2
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663BD2#FFFFFF#000000##FFFFFF
##663BD21.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD6
Deuteranopia (green-blind)
#0058CF
Tritanopia (blue-blind)
#3E6383
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #663bd2;
/* rgb */ color: rgb(102, 59, 210);
/* oklch */ color: oklch(49.7% 0.216 289.1);
Tailwind
colors: {
  custom: {
    50: '#9c75e1',
    500: '#663bd2',
    950: '#000000',
  },
}
SCSS
$custom: #663bd2;
$custom-light: #9c75e1;
$custom-dark: #000000;
JSON
{
  "hex": "#663bd2",
  "rgb": {
    "r": 102,
    "g": 59,
    "b": 210
  },
  "hsl": {
    "h": 257.086,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.49725,
    "c": 0.21619,
    "h": 289.1
  },
  "luminance": 0.10606
}

Semantic roles & 50–950 ramp

primary
#663BD2
secondary
#C2D594
accent
#E642B7
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #663BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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