#663FB2#663FB2

#663FB2 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.6% C 0.174 H 294.5°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#663FB2
RGBrgb(102, 63, 178)
HSLhsl(260, 48%, 47%)
HSVhsv(260, 65%, 70%)
CMYKcmyk(42.7%, 64.6%, 0%, 30.2%)
CIE-LABlab(37.10, 43.04, -55.36)
CIE-LCHlch(37.10, 70.12, 307.87°)
OKLaboklab(47.64% 0.0719 -0.158)
OKLCHoklch(47.64% 0.174 294.5)
XYZxyz(15.2907, 9.5938, 43.1570)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663FB2 #8BB23F
analogous
#3F51B2 #663FB2 #A03FB2
triadic
#663FB2 #B2663F #3FB266
tetradic
#663FB2 #B23F51 #8BB23F #3FB2A0
square
#663FB2 #B23F51 #8BB23F #3FB2A0
split-complementary
#663FB2 #B2A03F #51B23F
monochromatic
#321F58 #4C2F85 #663FB2 #8766C9 #AA93D9

Accessibility & contrast

On white

7.19
#663FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #663FB2
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663FB2#FFFFFF#000000##FFFFFF
##663FB21.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#525A73
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #663fb2;
/* rgb */ color: rgb(102, 63, 178);
/* oklch */ color: oklch(47.6% 0.174 294.5);
Tailwind
colors: {
  custom: {
    50: '#9776ca',
    500: '#663fb2',
    950: '#000000',
  },
}
SCSS
$custom: #663fb2;
$custom-light: #9776ca;
$custom-dark: #000000;
JSON
{
  "hex": "#663fb2",
  "rgb": {
    "r": 102,
    "g": 63,
    "b": 178
  },
  "hsl": {
    "h": 260.348,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47636,
    "c": 0.17363,
    "h": 294.5
  },
  "luminance": 0.09594
}

Semantic roles & 50–950 ramp

primary
#663FB2
secondary
#B0C489
accent
#D750AA
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #663FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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