#663EE2#663EE2

#663EE2 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.5% C 0.231 H 286.3°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#663EE2
RGBrgb(102, 62, 226)
HSLhsl(255, 74%, 56%)
HSVhsv(255, 73%, 89%)
CMYKcmyk(54.9%, 72.6%, 0%, 11.4%)
CIE-LABlab(40.83, 56.95, -77.14)
CIE-LCHlch(40.83, 95.89, 306.44°)
OKLaboklab(51.51% 0.0647 -0.222)
OKLCHoklch(51.51% 0.231 286.3)
XYZxyz(20.9255, 11.7599, 73.1040)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663EE2 #BAE23E
analogous
#3E68E2 #663EE2 #B83EE2
triadic
#663EE2 #E2663E #3EE266
tetradic
#663EE2 #E23E68 #BAE23E #3EE2B8
square
#663EE2 #E23E68 #BAE23E #3EE2B8
split-complementary
#663EE2 #E2B83E #68E23E
monochromatic
#331690 #461EC5 #663EE2 #9073EA #BAA8F2

Accessibility & contrast

On white

6.26
#663EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#663EE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663EE2
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663EE2#FFFFFF#000000##FFFFFF
##663EE21.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E7
Deuteranopia (green-blind)
#005BDF
Tritanopia (blue-blind)
#2E6B8D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #663ee2;
/* rgb */ color: rgb(102, 62, 226);
/* oklch */ color: oklch(51.5% 0.231 286.3);
Tailwind
colors: {
  custom: {
    50: '#9e77ec',
    500: '#663ee2',
    950: '#000000',
  },
}
SCSS
$custom: #663ee2;
$custom-light: #9e77ec;
$custom-dark: #000000;
JSON
{
  "hex": "#663ee2",
  "rgb": {
    "r": 102,
    "g": 62,
    "b": 226
  },
  "hsl": {
    "h": 254.634,
    "s": 73.874,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51513,
    "c": 0.23123,
    "h": 286.3
  },
  "luminance": 0.11761
}

Semantic roles & 50–950 ramp

primary
#663EE2
secondary
#CFE09C
accent
#F137C3
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #663EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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