#663BBE#663BBE

#663BBE is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.0% C 0.193 H 292.7°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#663BBE
RGBrgb(102, 59, 190)
HSLhsl(260, 53%, 49%)
HSVhsv(260, 69%, 75%)
CMYKcmyk(46.3%, 68.9%, 0%, 25.5%)
CIE-LABlab(37.24, 48.49, -62.20)
CIE-LCHlch(37.24, 78.87, 307.94°)
OKLaboklab(48.03% 0.0745 -0.1781)
OKLCHoklch(48.03% 0.193 292.7)
XYZxyz(16.3351, 9.6699, 49.7110)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663BBE #93BE3B
analogous
#3B52BE #663BBE #A83BBE
triadic
#663BBE #BE663B #3BBE66
tetradic
#663BBE #BE3B52 #93BE3B #3BBEA8
square
#663BBE #BE3B52 #93BE3B #3BBEA8
split-complementary
#663BBE #BEA83B #52BE3B
monochromatic
#341E61 #4D2C8F #663BBE #8967D0 #AD95DE

Accessibility & contrast

On white

7.16
#663BBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #663BBE
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663BBE#FFFFFF#000000##FFFFFF
##663BBE1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C2
Deuteranopia (green-blind)
#0055BB
Tritanopia (blue-blind)
#4C5C78
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #663bbe;
/* rgb */ color: rgb(102, 59, 190);
/* oklch */ color: oklch(48.0% 0.193 292.7);
Tailwind
colors: {
  custom: {
    50: '#9974d3',
    500: '#663bbe',
    950: '#000000',
  },
}
SCSS
$custom: #663bbe;
$custom-light: #9974d3;
$custom-dark: #000000;
JSON
{
  "hex": "#663bbe",
  "rgb": {
    "r": 102,
    "g": 59,
    "b": 190
  },
  "hsl": {
    "h": 259.695,
    "s": 52.61,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48027,
    "c": 0.1931,
    "h": 292.7
  },
  "luminance": 0.0967
}

Semantic roles & 50–950 ramp

primary
#663BBE
secondary
#B5CA8B
accent
#DC4CAD
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #663BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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