#663FC3#663FC3

#663FC3 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.0% C 0.194 H 291.1°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#663FC3
RGBrgb(102, 63, 195)
HSLhsl(258, 52%, 51%)
HSVhsv(258, 68%, 76%)
CMYKcmyk(47.7%, 67.7%, 0%, 23.5%)
CIE-LABlab(38.41, 47.77, -63.23)
CIE-LCHlch(38.41, 79.24, 307.07°)
OKLaboklab(48.99% 0.0698 -0.1812)
OKLCHoklch(48.99% 0.194 291.1)
XYZxyz(17.1045, 10.3193, 52.7098)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663FC3 #9CC33F
analogous
#3F5AC3 #663FC3 #A83FC3
triadic
#663FC3 #C3663F #3FC366
tetradic
#663FC3 #C33F5A #9CC33F #3FC3A8
square
#663FC3 #C33F5A #9CC33F #3FC3A8
split-complementary
#663FC3 #C3A83F #5AC33F
monochromatic
#352067 #4D2F96 #663FC3 #8B6ED2 #B09CE0

Accessibility & contrast

On white

6.85
#663FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#663FC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663FC3
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663FC3#FFFFFF#000000##FFFFFF
##663FC31.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC7
Deuteranopia (green-blind)
#0058C0
Tritanopia (blue-blind)
#48607C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #663fc3;
/* rgb */ color: rgb(102, 63, 195);
/* oklch */ color: oklch(49.0% 0.194 291.1);
Tailwind
colors: {
  custom: {
    50: '#9977d6',
    500: '#663fc3',
    950: '#000000',
  },
}
SCSS
$custom: #663fc3;
$custom-light: #9977d6;
$custom-dark: #000000;
JSON
{
  "hex": "#663fc3",
  "rgb": {
    "r": 102,
    "g": 63,
    "b": 195
  },
  "hsl": {
    "h": 257.727,
    "s": 52.381,
    "l": 50.588
  },
  "oklch": {
    "l": 0.48986,
    "c": 0.19416,
    "h": 291.1
  },
  "luminance": 0.1032
}

Semantic roles & 50–950 ramp

primary
#663FC3
secondary
#BBCC92
accent
#DC4CB1
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0914
muted
#7E7B83

Preview Lab

Preview with #663FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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