#663AC3#663AC3

#663AC3 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.3% C 0.200 H 291.9°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#663AC3
RGBrgb(102, 58, 195)
HSLhsl(259, 54%, 50%)
HSVhsv(259, 70%, 76%)
CMYKcmyk(47.7%, 70.3%, 0%, 23.5%)
CIE-LABlab(37.46, 50.38, -64.77)
CIE-LCHlch(37.46, 82.06, 307.88°)
OKLaboklab(48.31% 0.0746 -0.1857)
OKLCHoklch(48.31% 0.2 291.9)
XYZxyz(16.8401, 9.7904, 52.6216)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663AC3 #97C33A
analogous
#3A53C3 #663AC3 #AB3AC3
triadic
#663AC3 #C3663A #3AC366
tetradic
#663AC3 #C33A53 #97C33A #3AC3AB
square
#663AC3 #C33A53 #97C33A #3AC3AB
split-complementary
#663AC3 #C3AB3A #53C33A
monochromatic
#351E65 #4D2C94 #663AC3 #8A68D2 #AF97E0

Accessibility & contrast

On white

7.10
#663AC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#663AC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663AC3
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663AC3#FFFFFF#000000##FFFFFF
##663AC31.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC7
Deuteranopia (green-blind)
#0055C0
Tritanopia (blue-blind)
#495D7A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #663ac3;
/* rgb */ color: rgb(102, 58, 195);
/* oklch */ color: oklch(48.3% 0.200 291.9);
Tailwind
colors: {
  custom: {
    50: '#9a74d6',
    500: '#663ac3',
    950: '#000000',
  },
}
SCSS
$custom: #663ac3;
$custom-light: #9a74d6;
$custom-dark: #000000;
JSON
{
  "hex": "#663ac3",
  "rgb": {
    "r": 102,
    "g": 58,
    "b": 195
  },
  "hsl": {
    "h": 259.27,
    "s": 54.15,
    "l": 49.608
  },
  "oklch": {
    "l": 0.4831,
    "c": 0.2001,
    "h": 291.9
  },
  "luminance": 0.09791
}

Semantic roles & 50–950 ramp

primary
#663AC3
secondary
#B8CC8D
accent
#DE4AAE
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #663AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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