#663FB9#663FB9

#663FB9 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.2% C 0.182 H 293.0°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#663FB9
RGBrgb(102, 63, 185)
HSLhsl(259, 49%, 49%)
HSVhsv(259, 66%, 73%)
CMYKcmyk(44.9%, 65.9%, 0%, 27.5%)
CIE-LABlab(37.63, 44.98, -58.63)
CIE-LCHlch(37.63, 73.90, 307.49°)
OKLaboklab(48.18% 0.0712 -0.1677)
OKLCHoklch(48.18% 0.182 293)
XYZxyz(16.0116, 9.8821, 46.9533)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663FB9 #92B93F
analogous
#3F55B9 #663FB9 #A33FB9
triadic
#663FB9 #B9663F #3FB966
tetradic
#663FB9 #B93F55 #92B93F #3FB9A3
square
#663FB9 #B93F55 #92B93F #3FB9A3
split-complementary
#663FB9 #B9A33F #55B93F
monochromatic
#34205E #4D2F8B #663FB9 #8969CC #AD97DC

Accessibility & contrast

On white

7.06
#663FB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#663FB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663FB9
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663FB9#FFFFFF#000000##FFFFFF
##663FB91.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABD
Deuteranopia (green-blind)
#0056B6
Tritanopia (blue-blind)
#4E5C76
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #663fb9;
/* rgb */ color: rgb(102, 63, 185);
/* oklch */ color: oklch(48.2% 0.182 293.0);
Tailwind
colors: {
  custom: {
    50: '#9876cf',
    500: '#663fb9',
    950: '#000000',
  },
}
SCSS
$custom: #663fb9;
$custom-light: #9876cf;
$custom-dark: #000000;
JSON
{
  "hex": "#663fb9",
  "rgb": {
    "r": 102,
    "g": 63,
    "b": 185
  },
  "hsl": {
    "h": 259.18,
    "s": 49.194,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48182,
    "c": 0.18215,
    "h": 293
  },
  "luminance": 0.09883
}

Semantic roles & 50–950 ramp

primary
#663FB9
secondary
#B4C78D
accent
#D94FAD
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #663FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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