#643AB7#643AB7

#643AB7 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.1% C 0.186 H 293.4°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#643AB7
RGBrgb(100, 58, 183)
HSLhsl(260, 52%, 47%)
HSVhsv(260, 68%, 72%)
CMYKcmyk(45.4%, 68.3%, 0%, 28.2%)
CIE-LABlab(36.28, 46.73, -59.66)
CIE-LCHlch(36.28, 75.79, 308.07°)
OKLaboklab(47.11% 0.0738 -0.1708)
OKLCHoklch(47.11% 0.186 293.4)
XYZxyz(15.3135, 9.1539, 45.7506)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643AB7 #8DB73A
analogous
#3A4FB7 #643AB7 #A33AB7
triadic
#643AB7 #B7643A #3AB764
tetradic
#643AB7 #B73A4F #8DB73A #3AB7A3
square
#643AB7 #B73A4F #8DB73A #3AB7A3
split-complementary
#643AB7 #B7A33A #4FB73A
monochromatic
#311D5A #4B2B89 #643AB7 #8561CD #A990DC

Accessibility & contrast

On white

7.42
#643AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#643AB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643AB7
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643AB7#FFFFFF#000000##FFFFFF
##643AB71.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BB
Deuteranopia (green-blind)
#0053B4
Tritanopia (blue-blind)
#4C5974
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #643ab7;
/* rgb */ color: rgb(100, 58, 183);
/* oklch */ color: oklch(47.1% 0.186 293.4);
Tailwind
colors: {
  custom: {
    50: '#9773ce',
    500: '#643ab7',
    950: '#000000',
  },
}
SCSS
$custom: #643ab7;
$custom-light: #9773ce;
$custom-dark: #000000;
JSON
{
  "hex": "#643ab7",
  "rgb": {
    "r": 100,
    "g": 58,
    "b": 183
  },
  "hsl": {
    "h": 260.16,
    "s": 51.867,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47113,
    "c": 0.186,
    "h": 293.4
  },
  "luminance": 0.09154
}

Semantic roles & 50–950 ramp

primary
#643AB7
secondary
#B1C786
accent
#DB4CAB
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #643AB7

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

Preview Lab → · Contrast checker → · Palette generator →

#643AB7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva