#663DB5#663DB5

#663DB5 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.6% C 0.180 H 294.2°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#663DB5
RGBrgb(102, 61, 181)
HSLhsl(261, 50%, 47%)
HSVhsv(261, 66%, 71%)
CMYKcmyk(43.6%, 66.3%, 0%, 29%)
CIE-LABlab(36.93, 44.96, -57.42)
CIE-LCHlch(36.93, 72.93, 308.06°)
OKLaboklab(47.58% 0.0738 -0.1641)
OKLCHoklch(47.58% 0.18 294.2)
XYZxyz(15.4865, 9.4981, 44.7245)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663DB5 #8CB53D
analogous
#3D50B5 #663DB5 #A23DB5
triadic
#663DB5 #B5663D #3DB566
tetradic
#663DB5 #B53D50 #8CB53D #3DB5A2
square
#663DB5 #B53D50 #8CB53D #3DB5A2
split-complementary
#663DB5 #B5A23D #50B53D
monochromatic
#321E59 #4C2E87 #663DB5 #8764CB #AB92DA

Accessibility & contrast

On white

7.24
#663DB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#663DB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663DB5
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663DB5#FFFFFF#000000##FFFFFF
##663DB51.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B9
Deuteranopia (green-blind)
#0055B3
Tritanopia (blue-blind)
#505A74
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #663db5;
/* rgb */ color: rgb(102, 61, 181);
/* oklch */ color: oklch(47.6% 0.180 294.2);
Tailwind
colors: {
  custom: {
    50: '#9875cc',
    500: '#663db5',
    950: '#000000',
  },
}
SCSS
$custom: #663db5;
$custom-light: #9875cc;
$custom-dark: #000000;
JSON
{
  "hex": "#663db5",
  "rgb": {
    "r": 102,
    "g": 61,
    "b": 181
  },
  "hsl": {
    "h": 260.5,
    "s": 49.587,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47579,
    "c": 0.17991,
    "h": 294.2
  },
  "luminance": 0.09498
}

Semantic roles & 50–950 ramp

primary
#663DB5
secondary
#B1C588
accent
#D94FAA
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #663DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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