#663CCB#663CCB

#663CCB is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.2% C 0.207 H 290.1°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#663CCB
RGBrgb(102, 60, 203)
HSLhsl(258, 58%, 52%)
HSVhsv(258, 70%, 80%)
CMYKcmyk(49.8%, 70.4%, 0%, 20.4%)
CIE-LABlab(38.49, 51.56, -67.75)
CIE-LCHlch(38.49, 85.14, 307.27°)
OKLaboklab(49.25% 0.0712 -0.1944)
OKLCHoklch(49.25% 0.207 290.1)
XYZxyz(17.8717, 10.3676, 57.5478)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663CCB #A1CB3C
analogous
#3C5ACB #663CCB #AD3CCB
triadic
#663CCB #CB663C #3CCB66
tetradic
#663CCB #CB3C5A #A1CB3C #3CCBAD
square
#663CCB #CB3C5A #A1CB3C #3CCBAD
split-complementary
#663CCB #CBAD3C #5ACB3C
monochromatic
#361E6F #4D2A9F #663CCB #8C6CD8 #B29DE5

Accessibility & contrast

On white

6.83
#663CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#663CCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663CCB
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663CCB#FFFFFF#000000##FFFFFF
##663CCB1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCF
Deuteranopia (green-blind)
#0057C8
Tritanopia (blue-blind)
#43617F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #663ccb;
/* rgb */ color: rgb(102, 60, 203);
/* oklch */ color: oklch(49.2% 0.207 290.1);
Tailwind
colors: {
  custom: {
    50: '#9b75dc',
    500: '#663ccb',
    950: '#000000',
  },
}
SCSS
$custom: #663ccb;
$custom-light: #9b75dc;
$custom-dark: #000000;
JSON
{
  "hex": "#663ccb",
  "rgb": {
    "r": 102,
    "g": 60,
    "b": 203
  },
  "hsl": {
    "h": 257.622,
    "s": 57.895,
    "l": 51.569
  },
  "oklch": {
    "l": 0.49249,
    "c": 0.20707,
    "h": 290.1
  },
  "luminance": 0.10368
}

Semantic roles & 50–950 ramp

primary
#663CCB
secondary
#BED192
accent
#E147B4
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #663CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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