#663EA0#663EA0

#663EA0 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.1% C 0.153 H 299.1°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#663EA0
RGBrgb(102, 62, 160)
HSLhsl(264, 44%, 44%)
HSVhsv(264, 61%, 63%)
CMYKcmyk(36.2%, 61.2%, 0%, 37.3%)
CIE-LABlab(35.61, 38.71, -47.02)
CIE-LCHlch(35.61, 60.90, 309.46°)
OKLaboklab(46.15% 0.0744 -0.1335)
OKLCHoklch(46.15% 0.153 299.1)
XYZxyz(13.5457, 8.8080, 34.2373)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663EA0 #78A03E
analogous
#3E47A0 #663EA0 #973EA0
triadic
#663EA0 #A0663E #3EA066
tetradic
#663EA0 #A03E47 #78A03E #3EA097
square
#663EA0 #A03E47 #78A03E #3EA097
split-complementary
#663EA0 #A0973E #47A03E
monochromatic
#2E1C48 #4A2D74 #663EA0 #845CC0 #A588D1

Accessibility & contrast

On white

7.60
#663EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#663EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663EA0
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663EA0#FFFFFF#000000##FFFFFF
##663EA01.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A3
Deuteranopia (green-blind)
#1A539E
Tritanopia (blue-blind)
#595369
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #663ea0;
/* rgb */ color: rgb(102, 62, 160);
/* oklch */ color: oklch(46.1% 0.153 299.1);
Tailwind
colors: {
  custom: {
    50: '#9675bd',
    500: '#663ea0',
    950: '#000000',
  },
}
SCSS
$custom: #663ea0;
$custom-light: #9675bd;
$custom-dark: #000000;
JSON
{
  "hex": "#663ea0",
  "rgb": {
    "r": 102,
    "g": 62,
    "b": 160
  },
  "hsl": {
    "h": 264.49,
    "s": 44.144,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46146,
    "c": 0.15283,
    "h": 299.1
  },
  "luminance": 0.08808
}

Semantic roles & 50–950 ramp

primary
#663EA0
secondary
#A2BB7F
accent
#D454A0
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #663EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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