#663DEE#663DEE

#663DEE is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.5% C 0.246 H 284.8°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#663DEE
RGBrgb(102, 61, 238)
HSLhsl(254, 84%, 59%)
HSVhsv(254, 74%, 93%)
CMYKcmyk(57.1%, 74.4%, 0%, 6.7%)
CIE-LABlab(41.74, 60.76, -82.45)
CIE-LCHlch(41.74, 102.43, 306.39°)
OKLaboklab(52.48% 0.0626 -0.2375)
OKLCHoklch(52.48% 0.246 284.8)
XYZxyz(22.5761, 12.3339, 82.0634)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663DEE #C5EE3D
analogous
#3D6CEE #663DEE #BE3DEE
triadic
#663DEE #EE663D #3DEE66
tetradic
#663DEE #EE3D6C #C5EE3D #3DEEBE
square
#663DEE #EE3D6C #C5EE3D #3DEEBE
split-complementary
#663DEE #EEBE3D #6CEE3D
monochromatic
#310EA2 #4113DB #663DEE #9275F3 #BFAEF8

Accessibility & contrast

On white

6.06
#663DEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#663DEE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663DEE
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663DEE#FFFFFF#000000##FFFFFF
##663DEE1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067F3
Deuteranopia (green-blind)
#005DEB
Tritanopia (blue-blind)
#1A6F93
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #663dee;
/* rgb */ color: rgb(102, 61, 238);
/* oklch */ color: oklch(52.5% 0.246 284.8);
Tailwind
colors: {
  custom: {
    50: '#a077f5',
    500: '#663dee',
    950: '#000000',
  },
}
SCSS
$custom: #663dee;
$custom-light: #a077f5;
$custom-dark: #000000;
JSON
{
  "hex": "#663dee",
  "rgb": {
    "r": 102,
    "g": 61,
    "b": 238
  },
  "hsl": {
    "h": 253.898,
    "s": 83.886,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52482,
    "c": 0.24563,
    "h": 284.8
  },
  "luminance": 0.12335
}

Semantic roles & 50–950 ramp

primary
#663DEE
secondary
#D6E6A0
accent
#FA2ECB
background
#FAF7FF
surface
#F4EDFF
border
#CEC8D7
text
#100917
muted
#7F7B85

Preview Lab

Preview with #663DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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