#663FCA#663FCA

#663FCA is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.6% C 0.202 H 289.8°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#663FCA
RGBrgb(102, 63, 202)
HSLhsl(257, 57%, 52%)
HSVhsv(257, 69%, 79%)
CMYKcmyk(49.5%, 68.8%, 0%, 20.8%)
CIE-LABlab(38.97, 49.72, -66.39)
CIE-LCHlch(38.97, 82.94, 306.83°)
OKLaboklab(49.57% 0.0687 -0.1904)
OKLCHoklch(49.57% 0.202 289.8)
XYZxyz(17.9146, 10.6433, 56.9761)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663FCA #A3CA3F
analogous
#3F5DCA #663FCA #AC3FCA
triadic
#663FCA #CA663F #3FCA66
tetradic
#663FCA #CA3F5D #A3CA3F #3FCAAC
square
#663FCA #CA3F5D #A3CA3F #3FCAAC
split-complementary
#663FCA #CAAC3F #5DCA3F
monochromatic
#361F70 #4D2CA0 #663FCA #8C6FD7 #B29FE4

Accessibility & contrast

On white

6.71
#663FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#663FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663FCA
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663FCA#FFFFFF#000000##FFFFFF
##663FCA1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECE
Deuteranopia (green-blind)
#0058C7
Tritanopia (blue-blind)
#446280
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #663fca;
/* rgb */ color: rgb(102, 63, 202);
/* oklch */ color: oklch(49.6% 0.202 289.8);
Tailwind
colors: {
  custom: {
    50: '#9a77db',
    500: '#663fca',
    950: '#000000',
  },
}
SCSS
$custom: #663fca;
$custom-light: #9a77db;
$custom-dark: #000000;
JSON
{
  "hex": "#663fca",
  "rgb": {
    "r": 102,
    "g": 63,
    "b": 202
  },
  "hsl": {
    "h": 256.835,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.49565,
    "c": 0.20245,
    "h": 289.8
  },
  "luminance": 0.10644
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #663FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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