#663BC5#663BC5

#663BC5 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.6% C 0.201 H 291.3°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#663BC5
RGBrgb(102, 59, 197)
HSLhsl(259, 54%, 50%)
HSVhsv(259, 70%, 77%)
CMYKcmyk(48.2%, 70.1%, 0%, 22.7%)
CIE-LABlab(37.81, 50.42, -65.37)
CIE-LCHlch(37.81, 82.55, 307.64°)
OKLaboklab(48.61% 0.0733 -0.1874)
OKLCHoklch(48.61% 0.201 291.3)
XYZxyz(17.1187, 9.9833, 53.8375)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663BC5 #9AC53B
analogous
#3B55C5 #663BC5 #AB3BC5
triadic
#663BC5 #C5663B #3BC566
tetradic
#663BC5 #C53B55 #9AC53B #3BC5AB
square
#663BC5 #C53B55 #9AC53B #3BC5AB
split-complementary
#663BC5 #C5AB3B #55C53B
monochromatic
#351F67 #4D2C96 #663BC5 #8B6AD3 #B099E1

Accessibility & contrast

On white

7.01
#663BC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#663BC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663BC5
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663BC5#FFFFFF#000000##FFFFFF
##663BC51.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC9
Deuteranopia (green-blind)
#0056C2
Tritanopia (blue-blind)
#475E7C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #663bc5;
/* rgb */ color: rgb(102, 59, 197);
/* oklch */ color: oklch(48.6% 0.201 291.3);
Tailwind
colors: {
  custom: {
    50: '#9a74d8',
    500: '#663bc5',
    950: '#000000',
  },
}
SCSS
$custom: #663bc5;
$custom-light: #9a74d8;
$custom-dark: #000000;
JSON
{
  "hex": "#663bc5",
  "rgb": {
    "r": 102,
    "g": 59,
    "b": 197
  },
  "hsl": {
    "h": 258.696,
    "s": 54.331,
    "l": 50.196
  },
  "oklch": {
    "l": 0.4861,
    "c": 0.20125,
    "h": 291.3
  },
  "luminance": 0.09984
}

Semantic roles & 50–950 ramp

primary
#663BC5
secondary
#BACD8F
accent
#DE4AB0
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #663BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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