#663ABC#663ABC

#663ABC is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.7% C 0.192 H 293.3°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#663ABC
RGBrgb(102, 58, 188)
HSLhsl(260, 53%, 48%)
HSVhsv(260, 69%, 74%)
CMYKcmyk(45.7%, 69.1%, 0%, 26.3%)
CIE-LABlab(36.89, 48.47, -61.60)
CIE-LCHlch(36.89, 78.38, 308.20°)
OKLaboklab(47.73% 0.0758 -0.1764)
OKLCHoklch(47.73% 0.192 293.3)
XYZxyz(16.0672, 9.4812, 48.5507)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663ABC #90BC3A
analogous
#3A4FBC #663ABC #A73ABC
triadic
#663ABC #BC663A #3ABC66
tetradic
#663ABC #BC3A4F #90BC3A #3ABCA7
square
#663ABC #BC3A4F #90BC3A #3ABCA7
split-complementary
#663ABC #BCA73A #4FBC3A
monochromatic
#331D5E #4D2C8D #663ABC #8864CF #AC93DE

Accessibility & contrast

On white

7.25
#663ABC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#663ABC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663ABC
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663ABC#FFFFFF#000000##FFFFFF
##663ABC1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C0
Deuteranopia (green-blind)
#0054B9
Tritanopia (blue-blind)
#4D5A76
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #663abc;
/* rgb */ color: rgb(102, 58, 188);
/* oklch */ color: oklch(47.7% 0.192 293.3);
Tailwind
colors: {
  custom: {
    50: '#9973d1',
    500: '#663abc',
    950: '#000000',
  },
}
SCSS
$custom: #663abc;
$custom-light: #9973d1;
$custom-dark: #000000;
JSON
{
  "hex": "#663abc",
  "rgb": {
    "r": 102,
    "g": 58,
    "b": 188
  },
  "hsl": {
    "h": 260.308,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47728,
    "c": 0.19196,
    "h": 293.3
  },
  "luminance": 0.09482
}

Semantic roles & 50–950 ramp

primary
#663ABC
secondary
#B3C989
accent
#DC4CAB
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #663ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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