#663DB7#663DB7

#663DB7 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.7% C 0.182 H 293.8°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#663DB7
RGBrgb(102, 61, 183)
HSLhsl(260, 50%, 48%)
HSVhsv(260, 67%, 72%)
CMYKcmyk(44.3%, 66.7%, 0%, 28.2%)
CIE-LABlab(37.08, 45.51, -58.35)
CIE-LCHlch(37.08, 74.00, 307.95°)
OKLaboklab(47.74% 0.0735 -0.1668)
OKLCHoklch(47.74% 0.182 293.8)
XYZxyz(15.6932, 9.5807, 45.8130)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663DB7 #8EB73D
analogous
#3D51B7 #663DB7 #A33DB7
triadic
#663DB7 #B7663D #3DB766
tetradic
#663DB7 #B73D51 #8EB73D #3DB7A3
square
#663DB7 #B73D51 #8EB73D #3DB7A3
split-complementary
#663DB7 #B7A33D #51B73D
monochromatic
#331E5B #4C2E89 #663DB7 #8865CC #AB93DB

Accessibility & contrast

On white

7.20
#663DB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#663DB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663DB7
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663DB7#FFFFFF#000000##FFFFFF
##663DB71.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BB
Deuteranopia (green-blind)
#0055B4
Tritanopia (blue-blind)
#4F5A75
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #663db7;
/* rgb */ color: rgb(102, 61, 183);
/* oklch */ color: oklch(47.7% 0.182 293.8);
Tailwind
colors: {
  custom: {
    50: '#9875cd',
    500: '#663db7',
    950: '#000000',
  },
}
SCSS
$custom: #663db7;
$custom-light: #9875cd;
$custom-dark: #000000;
JSON
{
  "hex": "#663db7",
  "rgb": {
    "r": 102,
    "g": 61,
    "b": 183
  },
  "hsl": {
    "h": 260.164,
    "s": 50,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47737,
    "c": 0.18231,
    "h": 293.8
  },
  "luminance": 0.09581
}

Semantic roles & 50–950 ramp

primary
#663DB7
secondary
#B2C689
accent
#DA4EAB
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #663DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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