#663CB8#663CB8

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

Color values

HEX#663CB8
RGBrgb(102, 60, 184)
HSLhsl(260, 51%, 48%)
HSVhsv(260, 67%, 72%)
CMYKcmyk(44.6%, 67.4%, 0%, 27.8%)
CIE-LABlab(36.96, 46.32, -59.13)
CIE-LCHlch(36.96, 75.12, 308.07°)
OKLaboklab(47.68% 0.0744 -0.1691)
OKLCHoklch(47.68% 0.185 293.8)
XYZxyz(15.7447, 9.5167, 46.3455)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663CB8 #8EB83C
analogous
#3C50B8 #663CB8 #A43CB8
triadic
#663CB8 #B8663C #3CB866
tetradic
#663CB8 #B83C50 #8EB83C #3CB8A4
square
#663CB8 #B83C50 #8EB83C #3CB8A4
split-complementary
#663CB8 #B8A43C #50B83C
monochromatic
#331E5C #4C2D8A #663CB8 #8865CD #AB93DC

Accessibility & contrast

On white

7.23
#663CB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #663CB8
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663CB8#FFFFFF#000000##FFFFFF
##663CB81.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BC
Deuteranopia (green-blind)
#0055B5
Tritanopia (blue-blind)
#4F5A75
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #663cb8;
/* rgb */ color: rgb(102, 60, 184);
/* oklch */ color: oklch(47.7% 0.185 293.8);
Tailwind
colors: {
  custom: {
    50: '#9875ce',
    500: '#663cb8',
    950: '#000000',
  },
}
SCSS
$custom: #663cb8;
$custom-light: #9875ce;
$custom-dark: #000000;
JSON
{
  "hex": "#663cb8",
  "rgb": {
    "r": 102,
    "g": 60,
    "b": 184
  },
  "hsl": {
    "h": 260.323,
    "s": 50.82,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47677,
    "c": 0.18478,
    "h": 293.8
  },
  "luminance": 0.09517
}

Semantic roles & 50–950 ramp

primary
#663CB8
secondary
#B2C789
accent
#DA4DAB
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #663CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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