#663FCE#663FCE

#663FCE is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 49.9% C 0.207 H 289.2°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#663FCE
RGBrgb(102, 63, 206)
HSLhsl(256, 59%, 53%)
HSVhsv(256, 69%, 81%)
CMYKcmyk(50.5%, 69.4%, 0%, 19.2%)
CIE-LABlab(39.30, 50.84, -68.17)
CIE-LCHlch(39.30, 85.04, 306.72°)
OKLaboklab(49.9% 0.068 -0.1957)
OKLCHoklch(49.9% 0.207 289.2)
XYZxyz(18.3943, 10.8352, 59.5027)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663FCE #A7CE3F
analogous
#3F5FCE #663FCE #AE3FCE
triadic
#663FCE #CE663F #3FCE66
tetradic
#663FCE #CE3F5F #A7CE3F #3FCEAE
square
#663FCE #CE3F5F #A7CE3F #3FCEAE
split-complementary
#663FCE #CEAE3F #5FCE3F
monochromatic
#361E75 #4C2AA6 #663FCE #8D70DA #B4A1E7

Accessibility & contrast

On white

6.63
#663FCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#663FCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663FCE
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663FCE#FFFFFF#000000##FFFFFF
##663FCE1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD2
Deuteranopia (green-blind)
#0059CB
Tritanopia (blue-blind)
#416482
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #663fce;
/* rgb */ color: rgb(102, 63, 206);
/* oklch */ color: oklch(49.9% 0.207 289.2);
Tailwind
colors: {
  custom: {
    50: '#9b77de',
    500: '#663fce',
    950: '#000000',
  },
}
SCSS
$custom: #663fce;
$custom-light: #9b77de;
$custom-dark: #000000;
JSON
{
  "hex": "#663fce",
  "rgb": {
    "r": 102,
    "g": 63,
    "b": 206
  },
  "hsl": {
    "h": 256.364,
    "s": 59.336,
    "l": 52.745
  },
  "oklch": {
    "l": 0.49901,
    "c": 0.20715,
    "h": 289.2
  },
  "luminance": 0.10836
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #663FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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