#663EB2#663EB2

#663EB2 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.5% C 0.175 H 294.7°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#663EB2
RGBrgb(102, 62, 178)
HSLhsl(261, 48%, 47%)
HSVhsv(261, 65%, 70%)
CMYKcmyk(42.7%, 65.2%, 0%, 30.2%)
CIE-LABlab(36.90, 43.59, -55.69)
CIE-LCHlch(36.90, 70.72, 308.06°)
OKLaboklab(47.49% 0.073 -0.159)
OKLCHoklch(47.49% 0.175 294.7)
XYZxyz(15.2358, 9.4840, 43.1387)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663EB2 #8AB23E
analogous
#3E50B2 #663EB2 #A03EB2
triadic
#663EB2 #B2663E #3EB266
tetradic
#663EB2 #B23E50 #8AB23E #3EB2A0
square
#663EB2 #B23E50 #8AB23E #3EB2A0
split-complementary
#663EB2 #B2A03E #50B23E
monochromatic
#321E57 #4C2E85 #663EB2 #8764C9 #AA92D9

Accessibility & contrast

On white

7.25
#663EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#663EB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663EB2
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663EB2#FFFFFF#000000##FFFFFF
##663EB21.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#525972
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #663eb2;
/* rgb */ color: rgb(102, 62, 178);
/* oklch */ color: oklch(47.5% 0.175 294.7);
Tailwind
colors: {
  custom: {
    50: '#9776ca',
    500: '#663eb2',
    950: '#000000',
  },
}
SCSS
$custom: #663eb2;
$custom-light: #9776ca;
$custom-dark: #000000;
JSON
{
  "hex": "#663eb2",
  "rgb": {
    "r": 102,
    "g": 62,
    "b": 178
  },
  "hsl": {
    "h": 260.69,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47489,
    "c": 0.17497,
    "h": 294.7
  },
  "luminance": 0.09484
}

Semantic roles & 50–950 ramp

primary
#663EB2
secondary
#AFC488
accent
#D850A9
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #663EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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