#663BC2#663BC2

#663BC2 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.4% C 0.198 H 291.9°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#663BC2
RGBrgb(102, 59, 194)
HSLhsl(259, 53%, 50%)
HSVhsv(259, 70%, 76%)
CMYKcmyk(47.4%, 69.6%, 0%, 23.9%)
CIE-LABlab(37.57, 49.59, -64.02)
CIE-LCHlch(37.57, 80.98, 307.76°)
OKLaboklab(48.36% 0.0738 -0.1835)
OKLCHoklch(48.36% 0.198 291.9)
XYZxyz(16.7783, 9.8472, 52.0451)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663BC2 #97C23B
analogous
#3B54C2 #663BC2 #AA3BC2
triadic
#663BC2 #C2663B #3BC266
tetradic
#663BC2 #C23B54 #97C23B #3BC2AA
square
#663BC2 #C23B54 #97C23B #3BC2AA
split-complementary
#663BC2 #C2AA3B #54C23B
monochromatic
#351E64 #4D2D93 #663BC2 #8A69D1 #AF98E0

Accessibility & contrast

On white

7.07
#663BC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#663BC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663BC2
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663BC2#FFFFFF#000000##FFFFFF
##663BC21.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC6
Deuteranopia (green-blind)
#0056BF
Tritanopia (blue-blind)
#495D7A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #663bc2;
/* rgb */ color: rgb(102, 59, 194);
/* oklch */ color: oklch(48.4% 0.198 291.9);
Tailwind
colors: {
  custom: {
    50: '#9a74d5',
    500: '#663bc2',
    950: '#000000',
  },
}
SCSS
$custom: #663bc2;
$custom-light: #9a74d5;
$custom-dark: #000000;
JSON
{
  "hex": "#663bc2",
  "rgb": {
    "r": 102,
    "g": 59,
    "b": 194
  },
  "hsl": {
    "h": 259.111,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.48358,
    "c": 0.19777,
    "h": 291.9
  },
  "luminance": 0.09848
}

Semantic roles & 50–950 ramp

primary
#663BC2
secondary
#B8CB8E
accent
#DD4BAE
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #663BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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