#663FCB#663FCB

#663FCB is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 49.6% C 0.204 H 289.7°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#663FCB
RGBrgb(102, 63, 203)
HSLhsl(257, 57%, 52%)
HSVhsv(257, 69%, 80%)
CMYKcmyk(49.8%, 69%, 0%, 20.4%)
CIE-LABlab(39.05, 50.00, -66.83)
CIE-LCHlch(39.05, 83.47, 306.80°)
OKLaboklab(49.65% 0.0685 -0.1918)
OKLCHoklch(49.65% 0.204 289.7)
XYZxyz(18.0334, 10.6908, 57.6017)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663FCB #A4CB3F
analogous
#3F5ECB #663FCB #AC3FCB
triadic
#663FCB #CB663F #3FCB66
tetradic
#663FCB #CB3F5E #A4CB3F #3FCBAC
square
#663FCB #CB3F5E #A4CB3F #3FCBAC
split-complementary
#663FCB #CBAC3F #5ECB3F
monochromatic
#361F71 #4C2CA1 #663FCB #8C6FD8 #B39FE5

Accessibility & contrast

On white

6.69
#663FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#663FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663FCB
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663FCB#FFFFFF#000000##FFFFFF
##663FCB1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCF
Deuteranopia (green-blind)
#0059C8
Tritanopia (blue-blind)
#436380
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #663fcb;
/* rgb */ color: rgb(102, 63, 203);
/* oklch */ color: oklch(49.6% 0.204 289.7);
Tailwind
colors: {
  custom: {
    50: '#9a77dc',
    500: '#663fcb',
    950: '#000000',
  },
}
SCSS
$custom: #663fcb;
$custom-light: #9a77dc;
$custom-dark: #000000;
JSON
{
  "hex": "#663fcb",
  "rgb": {
    "r": 102,
    "g": 63,
    "b": 203
  },
  "hsl": {
    "h": 256.714,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.49649,
    "c": 0.20362,
    "h": 289.7
  },
  "luminance": 0.10692
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #663FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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