#663EE1#663EE1

#663EE1 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.4% C 0.230 H 286.4°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#663EE1
RGBrgb(102, 62, 225)
HSLhsl(255, 73%, 56%)
HSVhsv(255, 72%, 88%)
CMYKcmyk(54.7%, 72.4%, 0%, 11.8%)
CIE-LABlab(40.74, 56.67, -76.72)
CIE-LCHlch(40.74, 95.38, 306.45°)
OKLaboklab(51.42% 0.0649 -0.2207)
OKLCHoklch(51.42% 0.23 286.4)
XYZxyz(20.7886, 11.7051, 72.3835)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663EE1 #B9E13E
analogous
#3E68E1 #663EE1 #B83EE1
triadic
#663EE1 #E1663E #3EE166
tetradic
#663EE1 #E13E68 #B9E13E #3EE1B8
square
#663EE1 #E13E68 #B9E13E #3EE1B8
split-complementary
#663EE1 #E1B83E #68E13E
monochromatic
#34168E #471EC3 #663EE1 #9073E9 #BAA8F1

Accessibility & contrast

On white

6.29
#663EE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#663EE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663EE1
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663EE1#FFFFFF#000000##FFFFFF
##663EE11.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.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: #663ee1;
/* rgb */ color: rgb(102, 62, 225);
/* oklch */ color: oklch(51.4% 0.230 286.4);
Tailwind
colors: {
  custom: {
    50: '#9e77ec',
    500: '#663ee1',
    950: '#000000',
  },
}
SCSS
$custom: #663ee1;
$custom-light: #9e77ec;
$custom-dark: #000000;
JSON
{
  "hex": "#663ee1",
  "rgb": {
    "r": 102,
    "g": 62,
    "b": 225
  },
  "hsl": {
    "h": 254.724,
    "s": 73.094,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51424,
    "c": 0.2301,
    "h": 286.4
  },
  "luminance": 0.11706
}

Semantic roles & 50–950 ramp

primary
#663EE1
secondary
#CEDF9C
accent
#F038C3
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #663EE1

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

Preview Lab → · Contrast checker → · Palette generator →

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