#663FB3#663FB3

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

Color values

HEX#663FB3
RGBrgb(102, 63, 179)
HSLhsl(260, 48%, 47%)
HSVhsv(260, 65%, 70%)
CMYKcmyk(43%, 64.8%, 0%, 29.8%)
CIE-LABlab(37.18, 43.32, -55.83)
CIE-LCHlch(37.18, 70.66, 307.81°)
OKLaboklab(47.71% 0.0718 -0.1594)
OKLCHoklch(47.71% 0.175 294.3)
XYZxyz(15.3915, 9.6341, 43.6877)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663FB3 #8CB33F
analogous
#3F52B3 #663FB3 #A03FB3
triadic
#663FB3 #B3663F #3FB366
tetradic
#663FB3 #B33F52 #8CB33F #3FB3A0
square
#663FB3 #B33F52 #8CB33F #3FB3A0
split-complementary
#663FB3 #B3A03F #52B33F
monochromatic
#321F58 #4C2F86 #663FB3 #8766C9 #AB93D9

Accessibility & contrast

On white

7.18
#663FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #663FB3
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663FB3#FFFFFF#000000##FFFFFF
##663FB31.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#0056B1
Tritanopia (blue-blind)
#515A73
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #663fb3;
/* rgb */ color: rgb(102, 63, 179);
/* oklch */ color: oklch(47.7% 0.175 294.3);
Tailwind
colors: {
  custom: {
    50: '#9876cb',
    500: '#663fb3',
    950: '#000000',
  },
}
SCSS
$custom: #663fb3;
$custom-light: #9876cb;
$custom-dark: #000000;
JSON
{
  "hex": "#663fb3",
  "rgb": {
    "r": 102,
    "g": 63,
    "b": 179
  },
  "hsl": {
    "h": 260.172,
    "s": 47.934,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47713,
    "c": 0.17486,
    "h": 294.3
  },
  "luminance": 0.09634
}

Semantic roles & 50–950 ramp

primary
#663FB3
secondary
#B1C489
accent
#D850AA
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #663FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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