#663BA2#663BA2

#663BA2 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 45.8% C 0.160 H 299.2°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#663BA2
RGBrgb(102, 59, 162)
HSLhsl(265, 47%, 43%)
HSVhsv(265, 64%, 64%)
CMYKcmyk(37%, 63.6%, 0%, 36.5%)
CIE-LABlab(35.13, 40.92, -49.00)
CIE-LCHlch(35.13, 63.84, 309.86°)
OKLaboklab(45.84% 0.0779 -0.1393)
OKLCHoklch(45.84% 0.16 299.2)
XYZxyz(13.5634, 8.5612, 35.1133)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663BA2 #77A23B
analogous
#3B43A2 #663BA2 #993BA2
triadic
#663BA2 #A2663B #3BA266
tetradic
#663BA2 #A23B43 #77A23B #3BA299
square
#663BA2 #A23B43 #77A23B #3BA299
split-complementary
#663BA2 #A2993B #43A23B
monochromatic
#2E1A48 #4A2B75 #663BA2 #8458C2 #A585D3

Accessibility & contrast

On white

7.74
#663BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#663BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663BA2
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663BA2#FFFFFF#000000##FFFFFF
##663BA21.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#0D52A0
Tritanopia (blue-blind)
#595269
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #663ba2;
/* rgb */ color: rgb(102, 59, 162);
/* oklch */ color: oklch(45.8% 0.160 299.2);
Tailwind
colors: {
  custom: {
    50: '#9673be',
    500: '#663ba2',
    950: '#000000',
  },
}
SCSS
$custom: #663ba2;
$custom-light: #9673be;
$custom-dark: #000000;
JSON
{
  "hex": "#663ba2",
  "rgb": {
    "r": 102,
    "g": 59,
    "b": 162
  },
  "hsl": {
    "h": 265.049,
    "s": 46.606,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45837,
    "c": 0.15966,
    "h": 299.2
  },
  "luminance": 0.08561
}

Semantic roles & 50–950 ramp

primary
#663BA2
secondary
#A2BD7C
accent
#D6529F
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #663BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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