#663ECA#663ECA

#663ECA is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.4% C 0.204 H 290.0°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#663ECA
RGBrgb(102, 62, 202)
HSLhsl(257, 57%, 52%)
HSVhsv(257, 69%, 79%)
CMYKcmyk(49.5%, 69.3%, 0%, 20.8%)
CIE-LABlab(38.78, 50.25, -66.69)
CIE-LCHlch(38.78, 83.50, 306.99°)
OKLaboklab(49.43% 0.0696 -0.1913)
OKLCHoklch(49.43% 0.204 290)
XYZxyz(17.8597, 10.5336, 56.9578)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663ECA #A2CA3E
analogous
#3E5CCA #663ECA #AC3ECA
triadic
#663ECA #CA663E #3ECA66
tetradic
#663ECA #CA3E5C #A2CA3E #3ECAAC
square
#663ECA #CA3E5C #A2CA3E #3ECAAC
split-complementary
#663ECA #CAAC3E #5CCA3E
monochromatic
#361F6F #4D2C9F #663ECA #8C6ED7 #B29EE4

Accessibility & contrast

On white

6.76
#663ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #663ECA
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663ECA#FFFFFF#000000##FFFFFF
##663ECA1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECE
Deuteranopia (green-blind)
#0058C7
Tritanopia (blue-blind)
#44627F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #663eca;
/* rgb */ color: rgb(102, 62, 202);
/* oklch */ color: oklch(49.4% 0.204 290.0);
Tailwind
colors: {
  custom: {
    50: '#9a76db',
    500: '#663eca',
    950: '#000000',
  },
}
SCSS
$custom: #663eca;
$custom-light: #9a76db;
$custom-dark: #000000;
JSON
{
  "hex": "#663eca",
  "rgb": {
    "r": 102,
    "g": 62,
    "b": 202
  },
  "hsl": {
    "h": 257.143,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.49429,
    "c": 0.20361,
    "h": 290
  },
  "luminance": 0.10534
}

Semantic roles & 50–950 ramp

primary
#663ECA
secondary
#BFD193
accent
#E048B5
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #663ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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