#663BB0#663BB0

#663BB0 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.9% C 0.177 H 295.7°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#663BB0
RGBrgb(102, 59, 176)
HSLhsl(262, 50%, 46%)
HSVhsv(262, 66%, 69%)
CMYKcmyk(42%, 66.5%, 0%, 31%)
CIE-LABlab(36.15, 44.68, -55.71)
CIE-LCHlch(36.15, 71.41, 308.73°)
OKLaboklab(46.9% 0.0765 -0.1591)
OKLCHoklch(46.9% 0.177 295.7)
XYZxyz(14.8779, 9.0870, 42.0360)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663BB0 #85B03B
analogous
#3B4BB0 #663BB0 #A03BB0
triadic
#663BB0 #B0663B #3BB066
tetradic
#663BB0 #B03B4B #85B03B #3BB0A0
square
#663BB0 #B03B4B #85B03B #3BB0A0
split-complementary
#663BB0 #B0A03B #4BB03B
monochromatic
#311C54 #4B2C82 #663BB0 #865FC9 #A98DD9

Accessibility & contrast

On white

7.45
#663BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#663BB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663BB0
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663BB0#FFFFFF#000000##FFFFFF
##663BB01.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B4
Deuteranopia (green-blind)
#0053AE
Tritanopia (blue-blind)
#535770
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #663bb0;
/* rgb */ color: rgb(102, 59, 176);
/* oklch */ color: oklch(46.9% 0.177 295.7);
Tailwind
colors: {
  custom: {
    50: '#9774c8',
    500: '#663bb0',
    950: '#000000',
  },
}
SCSS
$custom: #663bb0;
$custom-light: #9774c8;
$custom-dark: #000000;
JSON
{
  "hex": "#663bb0",
  "rgb": {
    "r": 102,
    "g": 59,
    "b": 176
  },
  "hsl": {
    "h": 262.051,
    "s": 49.787,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46902,
    "c": 0.17653,
    "h": 295.7
  },
  "luminance": 0.09087
}

Semantic roles & 50–950 ramp

primary
#663BB0
secondary
#ACC383
accent
#D94EA6
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #663BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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