#663EB8#663EB8

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

Color values

HEX#663EB8
RGBrgb(102, 62, 184)
HSLhsl(260, 50%, 48%)
HSVhsv(260, 66%, 72%)
CMYKcmyk(44.6%, 66.3%, 0%, 27.8%)
CIE-LABlab(37.35, 45.25, -58.49)
CIE-LCHlch(37.35, 73.95, 307.72°)
OKLaboklab(47.96% 0.0723 -0.1673)
OKLCHoklch(47.96% 0.182 293.4)
XYZxyz(15.8515, 9.7303, 46.3810)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663EB8 #90B83E
analogous
#3E53B8 #663EB8 #A33EB8
triadic
#663EB8 #B8663E #3EB866
tetradic
#663EB8 #B83E53 #90B83E #3EB8A3
square
#663EB8 #B83E53 #90B83E #3EB8A3
split-complementary
#663EB8 #B8A33E #53B83E
monochromatic
#331F5C #4D2F8A #663EB8 #8867CC #AC95DB

Accessibility & contrast

On white

7.13
#663EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#663EB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663EB8
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663EB8#FFFFFF#000000##FFFFFF
##663EB81.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BC
Deuteranopia (green-blind)
#0056B5
Tritanopia (blue-blind)
#4F5B76
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #663eb8;
/* rgb */ color: rgb(102, 62, 184);
/* oklch */ color: oklch(48.0% 0.182 293.4);
Tailwind
colors: {
  custom: {
    50: '#9876ce',
    500: '#663eb8',
    950: '#000000',
  },
}
SCSS
$custom: #663eb8;
$custom-light: #9876ce;
$custom-dark: #000000;
JSON
{
  "hex": "#663eb8",
  "rgb": {
    "r": 102,
    "g": 62,
    "b": 184
  },
  "hsl": {
    "h": 259.672,
    "s": 49.593,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47959,
    "c": 0.18223,
    "h": 293.4
  },
  "luminance": 0.09731
}

Semantic roles & 50–950 ramp

primary
#663EB8
secondary
#B3C78B
accent
#D94FAC
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #663EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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