#663EAF#663EAF

#663EAF is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.3% C 0.171 H 295.4°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#663EAF
RGBrgb(102, 62, 175)
HSLhsl(261, 48%, 46%)
HSVhsv(261, 65%, 69%)
CMYKcmyk(41.7%, 64.6%, 0%, 31.4%)
CIE-LABlab(36.68, 42.77, -54.27)
CIE-LCHlch(36.68, 69.10, 308.24°)
OKLaboklab(47.26% 0.0734 -0.1548)
OKLCHoklch(47.26% 0.171 295.4)
XYZxyz(14.9379, 9.3648, 41.5697)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663EAF #87AF3E
analogous
#3E4FAF #663EAF #9F3EAF
triadic
#663EAF #AF663E #3EAF66
tetradic
#663EAF #AF3E4F #87AF3E #3EAF9F
square
#663EAF #AF3E4F #87AF3E #3EAF9F
split-complementary
#663EAF #AF9F3E #4FAF3E
monochromatic
#311E55 #4C2E82 #663EAF #8663C8 #A990D8

Accessibility & contrast

On white

7.31
#663EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#663EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663EAF
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663EAF#FFFFFF#000000##FFFFFF
##663EAF1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B3
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#535871
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #663eaf;
/* rgb */ color: rgb(102, 62, 175);
/* oklch */ color: oklch(47.3% 0.171 295.4);
Tailwind
colors: {
  custom: {
    50: '#9776c8',
    500: '#663eaf',
    950: '#000000',
  },
}
SCSS
$custom: #663eaf;
$custom-light: #9776c8;
$custom-dark: #000000;
JSON
{
  "hex": "#663eaf",
  "rgb": {
    "r": 102,
    "g": 62,
    "b": 175
  },
  "hsl": {
    "h": 261.239,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47258,
    "c": 0.17132,
    "h": 295.4
  },
  "luminance": 0.09365
}

Semantic roles & 50–950 ramp

primary
#663EAF
secondary
#ADC386
accent
#D751A8
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #663EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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