#663BD0#663BD0

#663BD0 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.5% C 0.214 H 289.4°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#663BD0
RGBrgb(102, 59, 208)
HSLhsl(257, 61%, 52%)
HSVhsv(257, 72%, 82%)
CMYKcmyk(51%, 71.6%, 0%, 18.4%)
CIE-LABlab(38.74, 53.45, -70.25)
CIE-LCHlch(38.74, 88.27, 307.26°)
OKLaboklab(49.55% 0.0711 -0.2018)
OKLCHoklch(49.55% 0.214 289.4)
XYZxyz(18.4253, 10.5060, 60.7193)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663BD0 #A5D03B
analogous
#3B5BD0 #663BD0 #B03BD0
triadic
#663BD0 #D0663B #3BD066
tetradic
#663BD0 #D03B5B #A5D03B #3BD0B0
square
#663BD0 #D03B5B #A5D03B #3BD0B0
split-complementary
#663BD0 #D0B03B #5BD03B
monochromatic
#361C75 #4C28A6 #663BD0 #8D6CDC #B39EE8

Accessibility & contrast

On white

6.77
#663BD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#663BD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663BD0
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663BD0#FFFFFF#000000##FFFFFF
##663BD01.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED4
Deuteranopia (green-blind)
#0058CD
Tritanopia (blue-blind)
#406282
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #663bd0;
/* rgb */ color: rgb(102, 59, 208);
/* oklch */ color: oklch(49.5% 0.214 289.4);
Tailwind
colors: {
  custom: {
    50: '#9b75e0',
    500: '#663bd0',
    950: '#000000',
  },
}
SCSS
$custom: #663bd0;
$custom-light: #9b75e0;
$custom-dark: #000000;
JSON
{
  "hex": "#663bd0",
  "rgb": {
    "r": 102,
    "g": 59,
    "b": 208
  },
  "hsl": {
    "h": 257.315,
    "s": 61.317,
    "l": 52.353
  },
  "oklch": {
    "l": 0.4955,
    "c": 0.21391,
    "h": 289.4
  },
  "luminance": 0.10507
}

Semantic roles & 50–950 ramp

primary
#663BD0
secondary
#C1D493
accent
#E443B6
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #663BD0

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

Preview Lab → · Contrast checker → · Palette generator →

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