#663EB6#663EB6

#663EB6 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.8% C 0.180 H 293.8°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#663EB6
RGBrgb(102, 62, 182)
HSLhsl(260, 49%, 48%)
HSVhsv(260, 66%, 71%)
CMYKcmyk(44%, 65.9%, 0%, 28.6%)
CIE-LABlab(37.20, 44.69, -57.56)
CIE-LCHlch(37.20, 72.88, 307.83°)
OKLaboklab(47.8% 0.0726 -0.1645)
OKLCHoklch(47.8% 0.18 293.8)
XYZxyz(15.6433, 9.6470, 45.2847)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663EB6 #8EB63E
analogous
#3E52B6 #663EB6 #A23EB6
triadic
#663EB6 #B6663E #3EB666
tetradic
#663EB6 #B63E52 #8EB63E #3EB6A2
square
#663EB6 #B63E52 #8EB63E #3EB6A2
split-complementary
#663EB6 #B6A23E #52B63E
monochromatic
#331F5B #4C2E88 #663EB6 #8866CB #AB94DB

Accessibility & contrast

On white

7.17
#663EB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#663EB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663EB6
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663EB6#FFFFFF#000000##FFFFFF
##663EB61.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BA
Deuteranopia (green-blind)
#0055B4
Tritanopia (blue-blind)
#505B74
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #663eb6;
/* rgb */ color: rgb(102, 62, 182);
/* oklch */ color: oklch(47.8% 0.180 293.8);
Tailwind
colors: {
  custom: {
    50: '#9876cd',
    500: '#663eb6',
    950: '#000000',
  },
}
SCSS
$custom: #663eb6;
$custom-light: #9876cd;
$custom-dark: #000000;
JSON
{
  "hex": "#663eb6",
  "rgb": {
    "r": 102,
    "g": 62,
    "b": 182
  },
  "hsl": {
    "h": 260,
    "s": 49.18,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47801,
    "c": 0.17982,
    "h": 293.8
  },
  "luminance": 0.09647
}

Semantic roles & 50–950 ramp

primary
#663EB6
secondary
#B2C68A
accent
#D94FAB
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #663EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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