#663CCF#663CCF

#663CCF is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.6% C 0.212 H 289.4°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#663CCF
RGBrgb(102, 60, 207)
HSLhsl(257, 60%, 52%)
HSVhsv(257, 71%, 81%)
CMYKcmyk(50.7%, 71%, 0%, 18.8%)
CIE-LABlab(38.83, 52.67, -69.52)
CIE-LCHlch(38.83, 87.21, 307.15°)
OKLaboklab(49.59% 0.0704 -0.1996)
OKLCHoklch(49.59% 0.212 289.4)
XYZxyz(18.3546, 10.5607, 60.0907)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663CCF #A5CF3C
analogous
#3C5BCF #663CCF #B03CCF
triadic
#663CCF #CF663C #3CCF66
tetradic
#663CCF #CF3C5B #A5CF3C #3CCFB0
square
#663CCF #CF3C5B #A5CF3C #3CCFB0
split-complementary
#663CCF #CFB03C #5BCF3C
monochromatic
#361D74 #4C29A5 #663CCF #8D6DDB #B39EE7

Accessibility & contrast

On white

6.75
#663CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#663CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663CCF
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663CCF#FFFFFF#000000##FFFFFF
##663CCF1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED3
Deuteranopia (green-blind)
#0058CC
Tritanopia (blue-blind)
#406382
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #663ccf;
/* rgb */ color: rgb(102, 60, 207);
/* oklch */ color: oklch(49.6% 0.212 289.4);
Tailwind
colors: {
  custom: {
    50: '#9b75df',
    500: '#663ccf',
    950: '#000000',
  },
}
SCSS
$custom: #663ccf;
$custom-light: #9b75df;
$custom-dark: #000000;
JSON
{
  "hex": "#663ccf",
  "rgb": {
    "r": 102,
    "g": 60,
    "b": 207
  },
  "hsl": {
    "h": 257.143,
    "s": 60.494,
    "l": 52.353
  },
  "oklch": {
    "l": 0.49592,
    "c": 0.21167,
    "h": 289.4
  },
  "luminance": 0.10561
}

Semantic roles & 50–950 ramp

primary
#663CCF
secondary
#C1D393
accent
#E444B6
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #663CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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