#663FC0#663FC0

#663FC0 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.7% C 0.191 H 291.6°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#663FC0
RGBrgb(102, 63, 192)
HSLhsl(258, 51%, 50%)
HSVhsv(258, 67%, 75%)
CMYKcmyk(46.9%, 67.2%, 0%, 24.7%)
CIE-LABlab(38.17, 46.93, -61.86)
CIE-LCHlch(38.17, 77.65, 307.18°)
OKLaboklab(48.74% 0.0702 -0.1772)
OKLCHoklch(48.74% 0.191 291.6)
XYZxyz(16.7688, 10.1850, 50.9413)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663FC0 #99C03F
analogous
#3F58C0 #663FC0 #A73FC0
triadic
#663FC0 #C0663F #3FC066
tetradic
#663FC0 #C03F58 #99C03F #3FC0A7
square
#663FC0 #C03F58 #99C03F #3FC0A7
split-complementary
#663FC0 #C0A73F #58C03F
monochromatic
#352164 #4E3092 #663FC0 #8B6DCF #AF9BDE

Accessibility & contrast

On white

6.91
#663FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#663FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663FC0
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663FC0#FFFFFF#000000##FFFFFF
##663FC01.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC4
Deuteranopia (green-blind)
#0057BD
Tritanopia (blue-blind)
#4A5F7A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #663fc0;
/* rgb */ color: rgb(102, 63, 192);
/* oklch */ color: oklch(48.7% 0.191 291.6);
Tailwind
colors: {
  custom: {
    50: '#9977d4',
    500: '#663fc0',
    950: '#000000',
  },
}
SCSS
$custom: #663fc0;
$custom-light: #9977d4;
$custom-dark: #000000;
JSON
{
  "hex": "#663fc0",
  "rgb": {
    "r": 102,
    "g": 63,
    "b": 192
  },
  "hsl": {
    "h": 258.14,
    "s": 50.588,
    "l": 50
  },
  "oklch": {
    "l": 0.48742,
    "c": 0.19057,
    "h": 291.6
  },
  "luminance": 0.10186
}

Semantic roles & 50–950 ramp

primary
#663FC0
secondary
#B9CA91
accent
#DA4EB0
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0914
muted
#7E7B83

Preview Lab

Preview with #663FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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