#663DE1#663DE1

#663DE1 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.3% C 0.231 H 286.5°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#663DE1
RGBrgb(102, 61, 225)
HSLhsl(255, 73%, 56%)
HSVhsv(255, 73%, 88%)
CMYKcmyk(54.7%, 72.9%, 0%, 11.8%)
CIE-LABlab(40.57, 57.16, -77.00)
CIE-LCHlch(40.57, 95.90, 306.59°)
OKLaboklab(51.3% 0.0657 -0.2216)
OKLCHoklch(51.3% 0.231 286.5)
XYZxyz(20.7348, 11.5974, 72.3655)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663DE1 #B8E13D
analogous
#3D66E1 #663DE1 #B83DE1
triadic
#663DE1 #E1663D #3DE166
tetradic
#663DE1 #E13D66 #B8E13D #3DE1B8
square
#663DE1 #E13D66 #B8E13D #3DE1B8
split-complementary
#663DE1 #E1B83D #66E13D
monochromatic
#34168E #471EC3 #663DE1 #9072E9 #BAA7F1

Accessibility & contrast

On white

6.33
#663DE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#663DE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663DE1
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663DE1#FFFFFF#000000##FFFFFF
##663DE11.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E6
Deuteranopia (green-blind)
#005BDE
Tritanopia (blue-blind)
#2F6A8C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #663de1;
/* rgb */ color: rgb(102, 61, 225);
/* oklch */ color: oklch(51.3% 0.231 286.5);
Tailwind
colors: {
  custom: {
    50: '#9e77ec',
    500: '#663de1',
    950: '#000000',
  },
}
SCSS
$custom: #663de1;
$custom-light: #9e77ec;
$custom-dark: #000000;
JSON
{
  "hex": "#663de1",
  "rgb": {
    "r": 102,
    "g": 61,
    "b": 225
  },
  "hsl": {
    "h": 255,
    "s": 73.214,
    "l": 56.078
  },
  "oklch": {
    "l": 0.513,
    "c": 0.23112,
    "h": 286.5
  },
  "luminance": 0.11599
}

Semantic roles & 50–950 ramp

primary
#663DE1
secondary
#CEDF9B
accent
#F038C2
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #663DE1

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

Preview Lab → · Contrast checker → · Palette generator →

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