#663DDE#663DDE

#663DDE is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.0% C 0.228 H 286.9°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#663DDE
RGBrgb(102, 61, 222)
HSLhsl(255, 71%, 55%)
HSVhsv(255, 73%, 87%)
CMYKcmyk(54.1%, 72.5%, 0%, 12.9%)
CIE-LABlab(40.30, 56.33, -75.73)
CIE-LCHlch(40.30, 94.38, 306.64°)
OKLaboklab(51.03% 0.0664 -0.2178)
OKLCHoklch(51.03% 0.228 286.9)
XYZxyz(20.3291, 11.4351, 70.2291)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663DDE #B5DE3D
analogous
#3D64DE #663DDE #B73DDE
triadic
#663DDE #DE663D #3DDE66
tetradic
#663DDE #DE3D64 #B5DE3D #3DDEB7
square
#663DDE #DE3D64 #B5DE3D #3DDEB7
split-complementary
#663DDE #DEB73D #64DE3D
monochromatic
#341789 #4820BE #663DDE #8F71E7 #B8A6F0

Accessibility & contrast

On white

6.39
#663DDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#663DDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663DDE
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663DDE#FFFFFF#000000##FFFFFF
##663DDE1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E3
Deuteranopia (green-blind)
#005ADB
Tritanopia (blue-blind)
#33698A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #663dde;
/* rgb */ color: rgb(102, 61, 222);
/* oklch */ color: oklch(51.0% 0.228 286.9);
Tailwind
colors: {
  custom: {
    50: '#9d77ea',
    500: '#663dde',
    950: '#000000',
  },
}
SCSS
$custom: #663dde;
$custom-light: #9d77ea;
$custom-dark: #000000;
JSON
{
  "hex": "#663dde",
  "rgb": {
    "r": 102,
    "g": 61,
    "b": 222
  },
  "hsl": {
    "h": 255.28,
    "s": 70.925,
    "l": 55.49
  },
  "oklch": {
    "l": 0.51032,
    "c": 0.22772,
    "h": 286.9
  },
  "luminance": 0.11436
}

Semantic roles & 50–950 ramp

primary
#663DDE
secondary
#CCDD9A
accent
#EE3AC0
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #663DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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