#663DB9#663DB9

#663DB9 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 47.9% C 0.185 H 293.4°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#663DB9
RGBrgb(102, 61, 185)
HSLhsl(260, 50%, 48%)
HSVhsv(260, 67%, 73%)
CMYKcmyk(44.9%, 67%, 0%, 27.5%)
CIE-LABlab(37.23, 46.06, -59.28)
CIE-LCHlch(37.23, 75.07, 307.85°)
OKLaboklab(47.9% 0.0733 -0.1696)
OKLCHoklch(47.9% 0.185 293.4)
XYZxyz(15.9028, 9.6646, 46.9171)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663DB9 #90B93D
analogous
#3D52B9 #663DB9 #A43DB9
triadic
#663DB9 #B9663D #3DB966
tetradic
#663DB9 #B93D52 #90B93D #3DB9A4
square
#663DB9 #B93D52 #90B93D #3DB9A4
split-complementary
#663DB9 #B9A43D #52B93D
monochromatic
#331F5D #4D2E8B #663DB9 #8866CD #AC95DC

Accessibility & contrast

On white

7.16
#663DB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#663DB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663DB9
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663DB9#FFFFFF#000000##FFFFFF
##663DB91.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BD
Deuteranopia (green-blind)
#0055B6
Tritanopia (blue-blind)
#4E5B76
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #663db9;
/* rgb */ color: rgb(102, 61, 185);
/* oklch */ color: oklch(47.9% 0.185 293.4);
Tailwind
colors: {
  custom: {
    50: '#9875cf',
    500: '#663db9',
    950: '#000000',
  },
}
SCSS
$custom: #663db9;
$custom-light: #9875cf;
$custom-dark: #000000;
JSON
{
  "hex": "#663db9",
  "rgb": {
    "r": 102,
    "g": 61,
    "b": 185
  },
  "hsl": {
    "h": 259.839,
    "s": 50.407,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47897,
    "c": 0.18471,
    "h": 293.4
  },
  "luminance": 0.09665
}

Semantic roles & 50–950 ramp

primary
#663DB9
secondary
#B3C78B
accent
#DA4EAC
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #663DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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