#663BA0#663BA0

#663BA0 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.7% C 0.157 H 299.8°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#663BA0
RGBrgb(102, 59, 160)
HSLhsl(266, 46%, 43%)
HSVhsv(266, 63%, 63%)
CMYKcmyk(36.2%, 63.1%, 0%, 37.3%)
CIE-LABlab(34.98, 40.39, -48.03)
CIE-LCHlch(34.98, 62.75, 310.06°)
OKLaboklab(45.69% 0.0781 -0.1365)
OKLCHoklch(45.69% 0.157 299.8)
XYZxyz(13.3871, 8.4907, 34.1845)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663BA0 #75A03B
analogous
#3B42A0 #663BA0 #993BA0
triadic
#663BA0 #A0663B #3BA066
tetradic
#663BA0 #A03B42 #75A03B #3BA099
square
#663BA0 #A03B42 #75A03B #3BA099
split-complementary
#663BA0 #A0993B #42A03B
monochromatic
#2D1A47 #492B73 #663BA0 #8457C1 #A584D2

Accessibility & contrast

On white

7.78
#663BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#663BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663BA0
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663BA0#FFFFFF#000000##FFFFFF
##663BA01.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A3
Deuteranopia (green-blind)
#13519E
Tritanopia (blue-blind)
#595168
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #663ba0;
/* rgb */ color: rgb(102, 59, 160);
/* oklch */ color: oklch(45.7% 0.157 299.8);
Tailwind
colors: {
  custom: {
    50: '#9673bd',
    500: '#663ba0',
    950: '#000000',
  },
}
SCSS
$custom: #663ba0;
$custom-light: #9673bd;
$custom-dark: #000000;
JSON
{
  "hex": "#663ba0",
  "rgb": {
    "r": 102,
    "g": 59,
    "b": 160
  },
  "hsl": {
    "h": 265.545,
    "s": 46.119,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4569,
    "c": 0.15721,
    "h": 299.8
  },
  "luminance": 0.08491
}

Semantic roles & 50–950 ramp

primary
#663BA0
secondary
#A0BC7B
accent
#D6529E
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #663BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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