#663BCA#663BCA

#663BCA is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.0% C 0.207 H 290.4°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#663BCA
RGBrgb(102, 59, 202)
HSLhsl(258, 57%, 51%)
HSVhsv(258, 71%, 79%)
CMYKcmyk(49.5%, 70.8%, 0%, 20.8%)
CIE-LABlab(38.23, 51.79, -67.60)
CIE-LCHlch(38.23, 85.16, 307.46°)
OKLaboklab(49.03% 0.0723 -0.194)
OKLCHoklch(49.03% 0.207 290.4)
XYZxyz(17.7011, 10.2163, 56.9049)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663BCA #9FCA3B
analogous
#3B57CA #663BCA #AD3BCA
triadic
#663BCA #CA663B #3BCA66
tetradic
#663BCA #CA3B57 #9FCA3B #3BCAAD
square
#663BCA #CA3B57 #9FCA3B #3BCAAD
split-complementary
#663BCA #CAAD3B #57CA3B
monochromatic
#351E6D #4D2B9D #663BCA #8C6BD7 #B19BE4

Accessibility & contrast

On white

6.90
#663BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#663BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663BCA
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663BCA#FFFFFF#000000##FFFFFF
##663BCA1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCE
Deuteranopia (green-blind)
#0057C7
Tritanopia (blue-blind)
#44607E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #663bca;
/* rgb */ color: rgb(102, 59, 202);
/* oklch */ color: oklch(49.0% 0.207 290.4);
Tailwind
colors: {
  custom: {
    50: '#9b75db',
    500: '#663bca',
    950: '#000000',
  },
}
SCSS
$custom: #663bca;
$custom-light: #9b75db;
$custom-dark: #000000;
JSON
{
  "hex": "#663bca",
  "rgb": {
    "r": 102,
    "g": 59,
    "b": 202
  },
  "hsl": {
    "h": 258.042,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.49034,
    "c": 0.20704,
    "h": 290.4
  },
  "luminance": 0.10217
}

Semantic roles & 50–950 ramp

primary
#663BCA
secondary
#BDD091
accent
#E147B3
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #663BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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