#663FC8#663FC8

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

Color values

HEX#663FC8
RGBrgb(102, 63, 200)
HSLhsl(257, 55%, 52%)
HSVhsv(257, 69%, 78%)
CMYKcmyk(49%, 68.5%, 0%, 21.6%)
CIE-LABlab(38.81, 49.16, -65.49)
CIE-LCHlch(38.81, 81.89, 306.90°)
OKLaboklab(49.4% 0.069 -0.1878)
OKLCHoklch(49.4% 0.2 290.2)
XYZxyz(17.6793, 10.5492, 55.7371)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663FC8 #A1C83F
analogous
#3F5DC8 #663FC8 #AB3FC8
triadic
#663FC8 #C8663F #3FC866
tetradic
#663FC8 #C83F5D #A1C83F #3FC8AB
square
#663FC8 #C83F5D #A1C83F #3FC8AB
split-complementary
#663FC8 #C8AB3F #5DC83F
monochromatic
#361F6D #4D2D9D #663FC8 #8C6FD6 #B29EE3

Accessibility & contrast

On white

6.75
#663FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #663FC8
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663FC8#FFFFFF#000000##FFFFFF
##663FC81.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECC
Deuteranopia (green-blind)
#0058C5
Tritanopia (blue-blind)
#45627F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #663fc8;
/* rgb */ color: rgb(102, 63, 200);
/* oklch */ color: oklch(49.4% 0.200 290.2);
Tailwind
colors: {
  custom: {
    50: '#9a77da',
    500: '#663fc8',
    950: '#000000',
  },
}
SCSS
$custom: #663fc8;
$custom-light: #9a77da;
$custom-dark: #000000;
JSON
{
  "hex": "#663fc8",
  "rgb": {
    "r": 102,
    "g": 63,
    "b": 200
  },
  "hsl": {
    "h": 257.08,
    "s": 55.466,
    "l": 51.569
  },
  "oklch": {
    "l": 0.49398,
    "c": 0.20008,
    "h": 290.2
  },
  "luminance": 0.1055
}

Semantic roles & 50–950 ramp

primary
#663FC8
secondary
#BED093
accent
#DF49B4
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #663FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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