#663CBB#663CBB

#663CBB is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.9% C 0.188 H 293.1°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#663CBB
RGBrgb(102, 60, 187)
HSLhsl(260, 51%, 48%)
HSVhsv(260, 68%, 73%)
CMYKcmyk(45.5%, 67.9%, 0%, 26.7%)
CIE-LABlab(37.20, 47.14, -60.52)
CIE-LCHlch(37.20, 76.71, 307.92°)
OKLaboklab(47.92% 0.074 -0.1732)
OKLCHoklch(47.92% 0.188 293.1)
XYZxyz(16.0625, 9.6439, 48.0192)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663CBB #91BB3C
analogous
#3C51BB #663CBB #A53CBB
triadic
#663CBB #BB663C #3CBB66
tetradic
#663CBB #BB3C51 #91BB3C #3CBBA5
square
#663CBB #BB3C51 #91BB3C #3CBBA5
split-complementary
#663CBB #BBA53C #51BB3C
monochromatic
#331E5E #4D2D8D #663CBB #8966CE #AC95DD

Accessibility & contrast

On white

7.17
#663CBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #663CBB
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663CBB#FFFFFF#000000##FFFFFF
##663CBB1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BF
Deuteranopia (green-blind)
#0055B8
Tritanopia (blue-blind)
#4D5B77
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #663cbb;
/* rgb */ color: rgb(102, 60, 187);
/* oklch */ color: oklch(47.9% 0.188 293.1);
Tailwind
colors: {
  custom: {
    50: '#9975d0',
    500: '#663cbb',
    950: '#000000',
  },
}
SCSS
$custom: #663cbb;
$custom-light: #9975d0;
$custom-dark: #000000;
JSON
{
  "hex": "#663cbb",
  "rgb": {
    "r": 102,
    "g": 60,
    "b": 187
  },
  "hsl": {
    "h": 259.843,
    "s": 51.417,
    "l": 48.431
  },
  "oklch": {
    "l": 0.47918,
    "c": 0.18834,
    "h": 293.1
  },
  "luminance": 0.09644
}

Semantic roles & 50–950 ramp

primary
#663CBB
secondary
#B4C88B
accent
#DB4DAC
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0814
muted
#7E7B82

Preview Lab

Preview with #663CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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