#663EBB#663EBB

#663EBB is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.2% C 0.186 H 292.8°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#663EBB
RGBrgb(102, 62, 187)
HSLhsl(259, 50%, 49%)
HSVhsv(259, 67%, 73%)
CMYKcmyk(45.5%, 66.8%, 0%, 26.7%)
CIE-LABlab(37.59, 46.08, -59.88)
CIE-LCHlch(37.59, 75.56, 307.58°)
OKLaboklab(48.2% 0.072 -0.1713)
OKLCHoklch(48.2% 0.186 292.8)
XYZxyz(16.1693, 9.8574, 48.0548)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663EBB #93BB3E
analogous
#3E55BB #663EBB #A53EBB
triadic
#663EBB #BB663E #3EBB66
tetradic
#663EBB #BB3E55 #93BB3E #3EBBA5
square
#663EBB #BB3E55 #93BB3E #3EBBA5
split-complementary
#663EBB #BBA53E #55BB3E
monochromatic
#34205F #4D2F8D #663EBB #8969CD #AD97DC

Accessibility & contrast

On white

7.07
#663EBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#663EBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663EBB
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663EBB#FFFFFF#000000##FFFFFF
##663EBB1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABF
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#4D5C77
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #663ebb;
/* rgb */ color: rgb(102, 62, 187);
/* oklch */ color: oklch(48.2% 0.186 292.8);
Tailwind
colors: {
  custom: {
    50: '#9976d0',
    500: '#663ebb',
    950: '#000000',
  },
}
SCSS
$custom: #663ebb;
$custom-light: #9976d0;
$custom-dark: #000000;
JSON
{
  "hex": "#663ebb",
  "rgb": {
    "r": 102,
    "g": 62,
    "b": 187
  },
  "hsl": {
    "h": 259.2,
    "s": 50.201,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48198,
    "c": 0.18583,
    "h": 292.8
  },
  "luminance": 0.09858
}

Semantic roles & 50–950 ramp

primary
#663EBB
secondary
#B5C88D
accent
#DA4EAD
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #663EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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