#663BD3#663BD3

#663BD3 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 49.8% C 0.217 H 288.9°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#663BD3
RGBrgb(102, 59, 211)
HSLhsl(257, 63%, 53%)
HSVhsv(257, 72%, 83%)
CMYKcmyk(51.7%, 72%, 0%, 17.3%)
CIE-LABlab(38.99, 54.27, -71.56)
CIE-LCHlch(38.99, 89.81, 307.18°)
OKLaboklab(49.81% 0.0704 -0.2056)
OKLCHoklch(49.81% 0.217 288.9)
XYZxyz(18.7979, 10.6550, 62.6815)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663BD3 #A8D33B
analogous
#3B5CD3 #663BD3 #B23BD3
triadic
#663BD3 #D3663B #3BD366
tetradic
#663BD3 #D33B5C #A8D33B #3BD3B2
square
#663BD3 #D33B5C #A8D33B #3BD3B2
split-complementary
#663BD3 #D3B23B #5CD33B
monochromatic
#361B79 #4C26AB #663BD3 #8D6DDE #B49FE9

Accessibility & contrast

On white

6.71
#663BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#663BD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663BD3
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663BD3#FFFFFF#000000##FFFFFF
##663BD31.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD7
Deuteranopia (green-blind)
#0058D0
Tritanopia (blue-blind)
#3D6483
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #663bd3;
/* rgb */ color: rgb(102, 59, 211);
/* oklch */ color: oklch(49.8% 0.217 288.9);
Tailwind
colors: {
  custom: {
    50: '#9c75e2',
    500: '#663bd3',
    950: '#000000',
  },
}
SCSS
$custom: #663bd3;
$custom-light: #9c75e2;
$custom-dark: #000000;
JSON
{
  "hex": "#663bd3",
  "rgb": {
    "r": 102,
    "g": 59,
    "b": 211
  },
  "hsl": {
    "h": 256.974,
    "s": 63.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.49812,
    "c": 0.21733,
    "h": 288.9
  },
  "luminance": 0.10656
}

Semantic roles & 50–950 ramp

primary
#663BD3
secondary
#C3D694
accent
#E641B8
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0915
muted
#7F7B84

Preview Lab

Preview with #663BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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