#663DB2#663DB2

#663DB2 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.3% C 0.176 H 294.9°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#663DB2
RGBrgb(102, 61, 178)
HSLhsl(261, 49%, 47%)
HSVhsv(261, 66%, 70%)
CMYKcmyk(42.7%, 65.7%, 0%, 30.2%)
CIE-LABlab(36.70, 44.14, -56.01)
CIE-LCHlch(36.70, 71.31, 308.24°)
OKLaboklab(47.34% 0.0741 -0.16)
OKLCHoklch(47.34% 0.176 294.9)
XYZxyz(15.1820, 9.3763, 43.1207)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663DB2 #89B23D
analogous
#3D4EB2 #663DB2 #A13DB2
triadic
#663DB2 #B2663D #3DB266
tetradic
#663DB2 #B23D4E #89B23D #3DB2A1
square
#663DB2 #B23D4E #89B23D #3DB2A1
split-complementary
#663DB2 #B2A13D #4EB23D
monochromatic
#321E57 #4C2D84 #663DB2 #8763C9 #AA90D9

Accessibility & contrast

On white

7.30
#663DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#663DB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663DB2
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663DB2#FFFFFF#000000##FFFFFF
##663DB21.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#525872
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #663db2;
/* rgb */ color: rgb(102, 61, 178);
/* oklch */ color: oklch(47.3% 0.176 294.9);
Tailwind
colors: {
  custom: {
    50: '#9875ca',
    500: '#663db2',
    950: '#000000',
  },
}
SCSS
$custom: #663db2;
$custom-light: #9875ca;
$custom-dark: #000000;
JSON
{
  "hex": "#663db2",
  "rgb": {
    "r": 102,
    "g": 61,
    "b": 178
  },
  "hsl": {
    "h": 261.026,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47344,
    "c": 0.17631,
    "h": 294.9
  },
  "luminance": 0.09377
}

Semantic roles & 50–950 ramp

primary
#663DB2
secondary
#AFC487
accent
#D94FA8
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #663DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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