#663BEA#663BEA

#663BEA is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.9% C 0.243 H 285.5°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#663BEA
RGBrgb(102, 59, 234)
HSLhsl(255, 81%, 57%)
HSVhsv(255, 75%, 92%)
CMYKcmyk(56.4%, 74.8%, 0%, 8.2%)
CIE-LABlab(41.04, 60.61, -81.34)
CIE-LCHlch(41.04, 101.44, 306.69°)
OKLaboklab(51.88% 0.0649 -0.2342)
OKLCHoklch(51.88% 0.243 285.5)
XYZxyz(21.8902, 11.8919, 78.9678)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663BEA #BFEA3B
analogous
#3B67EA #663BEA #BE3BEA
triadic
#663BEA #EA663B #3BEA66
tetradic
#663BEA #EA3B67 #BFEA3B #3BEABE
square
#663BEA #EA3B67 #BFEA3B #3BEABE
split-complementary
#663BEA #EABE3B #67EA3B
monochromatic
#32119A #4416D1 #663BEA #9172F0 #BCAAF6

Accessibility & contrast

On white

6.22
#663BEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#663BEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663BEA
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663BEA#FFFFFF#000000##FFFFFF
##663BEA1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065EF
Deuteranopia (green-blind)
#005BE7
Tritanopia (blue-blind)
#226D90
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #663bea;
/* rgb */ color: rgb(102, 59, 234);
/* oklch */ color: oklch(51.9% 0.243 285.5);
Tailwind
colors: {
  custom: {
    50: '#9f76f2',
    500: '#663bea',
    950: '#000000',
  },
}
SCSS
$custom: #663bea;
$custom-light: #9f76f2;
$custom-dark: #000000;
JSON
{
  "hex": "#663bea",
  "rgb": {
    "r": 102,
    "g": 59,
    "b": 234
  },
  "hsl": {
    "h": 254.743,
    "s": 80.645,
    "l": 57.451
  },
  "oklch": {
    "l": 0.51881,
    "c": 0.24309,
    "h": 285.5
  },
  "luminance": 0.11893
}

Semantic roles & 50–950 ramp

primary
#663BEA
secondary
#D2E49D
accent
#F731C6
background
#FAF7FF
surface
#F4EDFE
border
#CEC8D6
text
#100917
muted
#7F7B85

Preview Lab

Preview with #663BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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