#663BC8#663BC8

#663BC8 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 48.9% C 0.205 H 290.8°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#663BC8
RGBrgb(102, 59, 200)
HSLhsl(258, 56%, 51%)
HSVhsv(258, 71%, 78%)
CMYKcmyk(49%, 70.5%, 0%, 21.6%)
CIE-LABlab(38.06, 51.24, -66.71)
CIE-LCHlch(38.06, 84.12, 307.53°)
OKLaboklab(48.86% 0.0727 -0.1914)
OKLCHoklch(48.86% 0.205 290.8)
XYZxyz(17.4658, 10.1222, 55.6659)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663BC8 #9DC83B
analogous
#3B56C8 #663BC8 #AC3BC8
triadic
#663BC8 #C8663B #3BC866
tetradic
#663BC8 #C83B56 #9DC83B #3BC8AC
square
#663BC8 #C83B56 #9DC83B #3BC8AC
split-complementary
#663BC8 #C8AC3B #56C83B
monochromatic
#351E6B #4D2B9A #663BC8 #8B6BD5 #B19BE3

Accessibility & contrast

On white

6.94
#663BC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #663BC8
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663BC8#FFFFFF#000000##FFFFFF
##663BC81.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCC
Deuteranopia (green-blind)
#0056C5
Tritanopia (blue-blind)
#455F7D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #663bc8;
/* rgb */ color: rgb(102, 59, 200);
/* oklch */ color: oklch(48.9% 0.205 290.8);
Tailwind
colors: {
  custom: {
    50: '#9a74da',
    500: '#663bc8',
    950: '#000000',
  },
}
SCSS
$custom: #663bc8;
$custom-light: #9a74da;
$custom-dark: #000000;
JSON
{
  "hex": "#663bc8",
  "rgb": {
    "r": 102,
    "g": 59,
    "b": 200
  },
  "hsl": {
    "h": 258.298,
    "s": 56.175,
    "l": 50.784
  },
  "oklch": {
    "l": 0.48863,
    "c": 0.20473,
    "h": 290.8
  },
  "luminance": 0.10123
}

Semantic roles & 50–950 ramp

primary
#663BC8
secondary
#BCCF90
accent
#DF48B1
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #663BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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