#663BD1#663BD1

#663BD1 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.6% C 0.215 H 289.2°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#663BD1
RGBrgb(102, 59, 209)
HSLhsl(257, 62%, 53%)
HSVhsv(257, 72%, 82%)
CMYKcmyk(51.2%, 71.8%, 0%, 18%)
CIE-LABlab(38.82, 53.72, -70.69)
CIE-LCHlch(38.82, 88.78, 307.23°)
OKLaboklab(49.64% 0.0708 -0.203)
OKLCHoklch(49.64% 0.215 289.2)
XYZxyz(18.5487, 10.5553, 61.3693)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663BD1 #A6D13B
analogous
#3B5BD1 #663BD1 #B13BD1
triadic
#663BD1 #D1663B #3BD166
tetradic
#663BD1 #D13B5B #A6D13B #3BD1B1
square
#663BD1 #D13B5B #A6D13B #3BD1B1
split-complementary
#663BD1 #D1B13B #5BD13B
monochromatic
#361C76 #4C27A7 #663BD1 #8D6DDD #B39EE8

Accessibility & contrast

On white

6.75
#663BD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#663BD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663BD1
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663BD1#FFFFFF#000000##FFFFFF
##663BD11.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED5
Deuteranopia (green-blind)
#0058CE
Tritanopia (blue-blind)
#3F6382
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #663bd1;
/* rgb */ color: rgb(102, 59, 209);
/* oklch */ color: oklch(49.6% 0.215 289.2);
Tailwind
colors: {
  custom: {
    50: '#9c75e0',
    500: '#663bd1',
    950: '#000000',
  },
}
SCSS
$custom: #663bd1;
$custom-light: #9c75e0;
$custom-dark: #000000;
JSON
{
  "hex": "#663bd1",
  "rgb": {
    "r": 102,
    "g": 59,
    "b": 209
  },
  "hsl": {
    "h": 257.2,
    "s": 61.983,
    "l": 52.549
  },
  "oklch": {
    "l": 0.49637,
    "c": 0.21505,
    "h": 289.2
  },
  "luminance": 0.10556
}

Semantic roles & 50–950 ramp

primary
#663BD1
secondary
#C2D493
accent
#E543B7
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #663BD1

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

Preview Lab → · Contrast checker → · Palette generator →

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