#663FCF#663FCF

#663FCF is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.0% C 0.208 H 289.0°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#663FCF
RGBrgb(102, 63, 207)
HSLhsl(256, 60%, 53%)
HSVhsv(256, 70%, 81%)
CMYKcmyk(50.7%, 69.6%, 0%, 18.8%)
CIE-LABlab(39.38, 51.12, -68.61)
CIE-LCHlch(39.38, 85.56, 306.69°)
OKLaboklab(49.99% 0.0678 -0.197)
OKLCHoklch(49.99% 0.208 289)
XYZxyz(18.5162, 10.8840, 60.1446)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663FCF #A8CF3F
analogous
#3F60CF #663FCF #AE3FCF
triadic
#663FCF #CF663F #3FCF66
tetradic
#663FCF #CF3F60 #A8CF3F #3FCFAE
square
#663FCF #CF3F60 #A8CF3F #3FCFAE
split-complementary
#663FCF #CFAE3F #60CF3F
monochromatic
#361E76 #4C2AA7 #663FCF #8D70DB #B4A1E7

Accessibility & contrast

On white

6.61
#663FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#663FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663FCF
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663FCF#FFFFFF#000000##FFFFFF
##663FCF1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D3
Deuteranopia (green-blind)
#0059CC
Tritanopia (blue-blind)
#406482
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #663fcf;
/* rgb */ color: rgb(102, 63, 207);
/* oklch */ color: oklch(50.0% 0.208 289.0);
Tailwind
colors: {
  custom: {
    50: '#9b77df',
    500: '#663fcf',
    950: '#000000',
  },
}
SCSS
$custom: #663fcf;
$custom-light: #9b77df;
$custom-dark: #000000;
JSON
{
  "hex": "#663fcf",
  "rgb": {
    "r": 102,
    "g": 63,
    "b": 207
  },
  "hsl": {
    "h": 256.25,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.49986,
    "c": 0.20832,
    "h": 289
  },
  "luminance": 0.10885
}

Semantic roles & 50–950 ramp

primary
#663FCF
secondary
#C3D496
accent
#E345B8
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #663FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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