#663ABF#663ABF

#663ABF is a mid, vivid violet. Relative luminance 0.096; OKLCH L 48.0% C 0.195 H 292.7°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#663ABF
RGBrgb(102, 58, 191)
HSLhsl(260, 53%, 49%)
HSVhsv(260, 70%, 75%)
CMYKcmyk(46.6%, 69.6%, 0%, 25.1%)
CIE-LABlab(37.14, 49.29, -62.96)
CIE-LCHlch(37.14, 79.96, 308.05°)
OKLaboklab(47.98% 0.0753 -0.1804)
OKLCHoklch(47.98% 0.195 292.7)
XYZxyz(16.3939, 9.6119, 50.2716)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663ABF #93BF3A
analogous
#3A50BF #663ABF #A93ABF
triadic
#663ABF #BF663A #3ABF66
tetradic
#663ABF #BF3A50 #93BF3A #3ABFA9
square
#663ABF #BF3A50 #93BF3A #3ABFA9
split-complementary
#663ABF #BFA93A #50BF3A
monochromatic
#341D61 #4D2C90 #663ABF #8966D0 #AD95DF

Accessibility & contrast

On white

7.19
#663ABF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#663ABF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663ABF
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663ABF#FFFFFF#000000##FFFFFF
##663ABF1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C3
Deuteranopia (green-blind)
#0055BC
Tritanopia (blue-blind)
#4B5C78
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #663abf;
/* rgb */ color: rgb(102, 58, 191);
/* oklch */ color: oklch(48.0% 0.195 292.7);
Tailwind
colors: {
  custom: {
    50: '#9974d3',
    500: '#663abf',
    950: '#000000',
  },
}
SCSS
$custom: #663abf;
$custom-light: #9974d3;
$custom-dark: #000000;
JSON
{
  "hex": "#663abf",
  "rgb": {
    "r": 102,
    "g": 58,
    "b": 191
  },
  "hsl": {
    "h": 259.85,
    "s": 53.414,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47976,
    "c": 0.19546,
    "h": 292.7
  },
  "luminance": 0.09612
}

Semantic roles & 50–950 ramp

primary
#663ABF
secondary
#B5CA8B
accent
#DD4BAD
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #663ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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