#663FBE#663FBE

#663FBE is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.6% C 0.188 H 292.0°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#663FBE
RGBrgb(102, 63, 190)
HSLhsl(258, 50%, 50%)
HSVhsv(258, 67%, 75%)
CMYKcmyk(46.3%, 66.8%, 0%, 25.5%)
CIE-LABlab(38.02, 46.37, -60.95)
CIE-LCHlch(38.02, 76.58, 307.27°)
OKLaboklab(48.58% 0.0705 -0.1745)
OKLCHoklch(48.58% 0.188 292)
XYZxyz(16.5487, 10.0969, 49.7822)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663FBE #97BE3F
analogous
#3F58BE #663FBE #A63FBE
triadic
#663FBE #BE663F #3FBE66
tetradic
#663FBE #BE3F58 #97BE3F #3FBEA6
square
#663FBE #BE3F58 #97BE3F #3FBEA6
split-complementary
#663FBE #BEA63F #58BE3F
monochromatic
#352162 #4D3090 #663FBE #8A6CCE #AF9ADD

Accessibility & contrast

On white

6.96
#663FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#663FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663FBE
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663FBE#FFFFFF#000000##FFFFFF
##663FBE1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #663fbe;
/* rgb */ color: rgb(102, 63, 190);
/* oklch */ color: oklch(48.6% 0.188 292.0);
Tailwind
colors: {
  custom: {
    50: '#9977d2',
    500: '#663fbe',
    950: '#000000',
  },
}
SCSS
$custom: #663fbe;
$custom-light: #9977d2;
$custom-dark: #000000;
JSON
{
  "hex": "#663fbe",
  "rgb": {
    "r": 102,
    "g": 63,
    "b": 190
  },
  "hsl": {
    "h": 258.425,
    "s": 50.198,
    "l": 49.608
  },
  "oklch": {
    "l": 0.48581,
    "c": 0.18817,
    "h": 292
  },
  "luminance": 0.10097
}

Semantic roles & 50–950 ramp

primary
#663FBE
secondary
#B8C98F
accent
#DA4EAF
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0914
muted
#7E7B83

Preview Lab

Preview with #663FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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