#663EE0#663EE0

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

Color values

HEX#663EE0
RGBrgb(102, 62, 224)
HSLhsl(255, 72%, 56%)
HSVhsv(255, 72%, 88%)
CMYKcmyk(54.5%, 72.3%, 0%, 12.2%)
CIE-LABlab(40.66, 56.39, -76.29)
CIE-LCHlch(40.66, 94.87, 306.47°)
OKLaboklab(51.33% 0.0652 -0.2195)
OKLCHoklch(51.33% 0.229 286.5)
XYZxyz(20.6526, 11.6507, 71.6671)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663EE0 #B8E03E
analogous
#3E67E0 #663EE0 #B73EE0
triadic
#663EE0 #E0663E #3EE066
tetradic
#663EE0 #E03E67 #B8E03E #3EE0B7
square
#663EE0 #E03E67 #B8E03E #3EE0B7
split-complementary
#663EE0 #E0B73E #67E03E
monochromatic
#34178D #471FC2 #663EE0 #9073E8 #BAA7F1

Accessibility & contrast

On white

6.31
#663EE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#663EE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663EE0
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663EE0#FFFFFF#000000##FFFFFF
##663EE01.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E5
Deuteranopia (green-blind)
#005BDD
Tritanopia (blue-blind)
#306A8C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #663ee0;
/* rgb */ color: rgb(102, 62, 224);
/* oklch */ color: oklch(51.3% 0.229 286.5);
Tailwind
colors: {
  custom: {
    50: '#9d77eb',
    500: '#663ee0',
    950: '#000000',
  },
}
SCSS
$custom: #663ee0;
$custom-light: #9d77eb;
$custom-dark: #000000;
JSON
{
  "hex": "#663ee0",
  "rgb": {
    "r": 102,
    "g": 62,
    "b": 224
  },
  "hsl": {
    "h": 254.815,
    "s": 72.321,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51335,
    "c": 0.22896,
    "h": 286.5
  },
  "luminance": 0.11652
}

Semantic roles & 50–950 ramp

primary
#663EE0
secondary
#CEDE9B
accent
#EF39C2
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #663EE0

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

Preview Lab → · Contrast checker → · Palette generator →

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