#663EBE#663EBE

#663EBE is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.4% C 0.189 H 292.2°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#663EBE
RGBrgb(102, 62, 190)
HSLhsl(259, 51%, 49%)
HSVhsv(259, 67%, 75%)
CMYKcmyk(46.3%, 67.4%, 0%, 25.5%)
CIE-LABlab(37.82, 46.91, -61.26)
CIE-LCHlch(37.82, 77.16, 307.44°)
OKLaboklab(48.44% 0.0715 -0.1754)
OKLCHoklch(48.44% 0.189 292.2)
XYZxyz(16.4938, 9.9872, 49.7639)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663EBE #96BE3E
analogous
#3E56BE #663EBE #A63EBE
triadic
#663EBE #BE663E #3EBE66
tetradic
#663EBE #BE3E56 #96BE3E #3EBEA6
square
#663EBE #BE3E56 #96BE3E #3EBEA6
split-complementary
#663EBE #BEA63E #56BE3E
monochromatic
#342062 #4D2F90 #663EBE #8A6BCF #AE99DE

Accessibility & contrast

On white

7.01
#663EBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#663EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663EBE
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663EBE#FFFFFF#000000##FFFFFF
##663EBE1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC2
Deuteranopia (green-blind)
#0056BB
Tritanopia (blue-blind)
#4B5D79
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #663ebe;
/* rgb */ color: rgb(102, 62, 190);
/* oklch */ color: oklch(48.4% 0.189 292.2);
Tailwind
colors: {
  custom: {
    50: '#9976d3',
    500: '#663ebe',
    950: '#000000',
  },
}
SCSS
$custom: #663ebe;
$custom-light: #9976d3;
$custom-dark: #000000;
JSON
{
  "hex": "#663ebe",
  "rgb": {
    "r": 102,
    "g": 62,
    "b": 190
  },
  "hsl": {
    "h": 258.75,
    "s": 50.794,
    "l": 49.412
  },
  "oklch": {
    "l": 0.4844,
    "c": 0.18942,
    "h": 292.2
  },
  "luminance": 0.09988
}

Semantic roles & 50–950 ramp

primary
#663EBE
secondary
#B7C98E
accent
#DA4EAE
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0914
muted
#7E7B83

Preview Lab

Preview with #663EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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