#663BC3#663BC3

#663BC3 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.4% C 0.199 H 291.7°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#663BC3
RGBrgb(102, 59, 195)
HSLhsl(259, 54%, 50%)
HSVhsv(259, 70%, 76%)
CMYKcmyk(47.7%, 69.7%, 0%, 23.5%)
CIE-LABlab(37.65, 49.87, -64.47)
CIE-LCHlch(37.65, 81.51, 307.72°)
OKLaboklab(48.44% 0.0736 -0.1848)
OKLCHoklch(48.44% 0.199 291.7)
XYZxyz(16.8910, 9.8922, 52.6386)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663BC3 #98C33B
analogous
#3B54C3 #663BC3 #AA3BC3
triadic
#663BC3 #C3663B #3BC366
tetradic
#663BC3 #C33B54 #98C33B #3BC3AA
square
#663BC3 #C33B54 #98C33B #3BC3AA
split-complementary
#663BC3 #C3AA3B #54C33B
monochromatic
#351F65 #4D2D94 #663BC3 #8A69D2 #AF98E0

Accessibility & contrast

On white

7.05
#663BC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#663BC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663BC3
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663BC3#FFFFFF#000000##FFFFFF
##663BC31.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC7
Deuteranopia (green-blind)
#0056C0
Tritanopia (blue-blind)
#495E7B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #663bc3;
/* rgb */ color: rgb(102, 59, 195);
/* oklch */ color: oklch(48.4% 0.199 291.7);
Tailwind
colors: {
  custom: {
    50: '#9a74d6',
    500: '#663bc3',
    950: '#000000',
  },
}
SCSS
$custom: #663bc3;
$custom-light: #9a74d6;
$custom-dark: #000000;
JSON
{
  "hex": "#663bc3",
  "rgb": {
    "r": 102,
    "g": 59,
    "b": 195
  },
  "hsl": {
    "h": 258.971,
    "s": 53.543,
    "l": 49.804
  },
  "oklch": {
    "l": 0.48442,
    "c": 0.19893,
    "h": 291.7
  },
  "luminance": 0.09893
}

Semantic roles & 50–950 ramp

primary
#663BC3
secondary
#B8CC8E
accent
#DD4BAF
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #663BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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