#663EC3#663EC3

#663EC3 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.8% C 0.195 H 291.2°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#663EC3
RGBrgb(102, 62, 195)
HSLhsl(258, 53%, 50%)
HSVhsv(258, 68%, 76%)
CMYKcmyk(47.7%, 68.2%, 0%, 23.5%)
CIE-LABlab(38.22, 48.30, -63.55)
CIE-LCHlch(38.22, 79.82, 307.24°)
OKLaboklab(48.85% 0.0708 -0.1821)
OKLCHoklch(48.85% 0.195 291.2)
XYZxyz(17.0497, 10.2095, 52.6915)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663EC3 #9BC33E
analogous
#3E58C3 #663EC3 #A83EC3
triadic
#663EC3 #C3663E #3EC366
tetradic
#663EC3 #C33E58 #9BC33E #3EC3A8
square
#663EC3 #C33E58 #9BC33E #3EC3A8
split-complementary
#663EC3 #C3A83E #58C33E
monochromatic
#352067 #4D2E95 #663EC3 #8B6DD2 #B09BE0

Accessibility & contrast

On white

6.90
#663EC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#663EC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663EC3
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663EC3#FFFFFF#000000##FFFFFF
##663EC31.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC7
Deuteranopia (green-blind)
#0057C0
Tritanopia (blue-blind)
#485F7B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #663ec3;
/* rgb */ color: rgb(102, 62, 195);
/* oklch */ color: oklch(48.8% 0.195 291.2);
Tailwind
colors: {
  custom: {
    50: '#9a76d6',
    500: '#663ec3',
    950: '#000000',
  },
}
SCSS
$custom: #663ec3;
$custom-light: #9a76d6;
$custom-dark: #000000;
JSON
{
  "hex": "#663ec3",
  "rgb": {
    "r": 102,
    "g": 62,
    "b": 195
  },
  "hsl": {
    "h": 258.045,
    "s": 52.569,
    "l": 50.392
  },
  "oklch": {
    "l": 0.48847,
    "c": 0.19536,
    "h": 291.2
  },
  "luminance": 0.1021
}

Semantic roles & 50–950 ramp

primary
#663EC3
secondary
#BACC91
accent
#DC4CB1
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #663EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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