#663DC3#663DC3

#663DC3 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.7% C 0.197 H 291.4°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#663DC3
RGBrgb(102, 61, 195)
HSLhsl(258, 53%, 50%)
HSVhsv(258, 69%, 76%)
CMYKcmyk(47.7%, 68.7%, 0%, 23.5%)
CIE-LABlab(38.02, 48.83, -63.86)
CIE-LCHlch(38.02, 80.38, 307.40°)
OKLaboklab(48.71% 0.0717 -0.183)
OKLCHoklch(48.71% 0.197 291.4)
XYZxyz(16.9958, 10.1018, 52.6735)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663DC3 #9AC33D
analogous
#3D57C3 #663DC3 #A93DC3
triadic
#663DC3 #C3663D #3DC366
tetradic
#663DC3 #C33D57 #9AC33D #3DC3A9
square
#663DC3 #C33D57 #9AC33D #3DC3A9
split-complementary
#663DC3 #C3A93D #57C33D
monochromatic
#352066 #4D2E95 #663DC3 #8B6CD1 #B09AE0

Accessibility & contrast

On white

6.95
#663DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #663DC3
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663DC3#FFFFFF#000000##FFFFFF
##663DC31.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC7
Deuteranopia (green-blind)
#0057C0
Tritanopia (blue-blind)
#485F7B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #663dc3;
/* rgb */ color: rgb(102, 61, 195);
/* oklch */ color: oklch(48.7% 0.197 291.4);
Tailwind
colors: {
  custom: {
    50: '#9a76d6',
    500: '#663dc3',
    950: '#000000',
  },
}
SCSS
$custom: #663dc3;
$custom-light: #9a76d6;
$custom-dark: #000000;
JSON
{
  "hex": "#663dc3",
  "rgb": {
    "r": 102,
    "g": 61,
    "b": 195
  },
  "hsl": {
    "h": 258.358,
    "s": 52.756,
    "l": 50.196
  },
  "oklch": {
    "l": 0.4871,
    "c": 0.19656,
    "h": 291.4
  },
  "luminance": 0.10102
}

Semantic roles & 50–950 ramp

primary
#663DC3
secondary
#BACC90
accent
#DC4CB0
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #663DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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