#663DC4#663DC4

#663DC4 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.8% C 0.198 H 291.2°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#663DC4
RGBrgb(102, 61, 196)
HSLhsl(258, 53%, 50%)
HSVhsv(258, 69%, 77%)
CMYKcmyk(48%, 68.9%, 0%, 23.1%)
CIE-LABlab(38.11, 49.10, -64.31)
CIE-LCHlch(38.11, 80.91, 307.36°)
OKLaboklab(48.79% 0.0716 -0.1843)
OKLCHoklch(48.79% 0.198 291.2)
XYZxyz(17.1092, 10.1472, 53.2710)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663DC4 #9BC43D
analogous
#3D57C4 #663DC4 #A93DC4
triadic
#663DC4 #C4663D #3DC466
tetradic
#663DC4 #C43D57 #9BC43D #3DC4A9
square
#663DC4 #C43D57 #9BC43D #3DC4A9
split-complementary
#663DC4 #C4A93D #57C43D
monochromatic
#351F67 #4D2E96 #663DC4 #8B6CD2 #B09BE1

Accessibility & contrast

On white

6.93
#663DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#663DC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663DC4
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663DC4#FFFFFF#000000##FFFFFF
##663DC41.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC8
Deuteranopia (green-blind)
#0057C1
Tritanopia (blue-blind)
#485F7C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #663dc4;
/* rgb */ color: rgb(102, 61, 196);
/* oklch */ color: oklch(48.8% 0.198 291.2);
Tailwind
colors: {
  custom: {
    50: '#9a76d7',
    500: '#663dc4',
    950: '#000000',
  },
}
SCSS
$custom: #663dc4;
$custom-light: #9a76d7;
$custom-dark: #000000;
JSON
{
  "hex": "#663dc4",
  "rgb": {
    "r": 102,
    "g": 61,
    "b": 196
  },
  "hsl": {
    "h": 258.222,
    "s": 53.36,
    "l": 50.392
  },
  "oklch": {
    "l": 0.48793,
    "c": 0.19774,
    "h": 291.2
  },
  "luminance": 0.10148
}

Semantic roles & 50–950 ramp

primary
#663DC4
secondary
#BACD90
accent
#DD4BB1
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #663DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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