#643FB5#643FB5

#643FB5 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.7% C 0.177 H 292.9°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#643FB5
RGBrgb(100, 63, 181)
HSLhsl(259, 48%, 48%)
HSVhsv(259, 65%, 71%)
CMYKcmyk(44.8%, 65.2%, 0%, 29%)
CIE-LABlab(37.11, 43.47, -57.12)
CIE-LCHlch(37.11, 71.78, 307.27°)
OKLaboklab(47.67% 0.0688 -0.1633)
OKLCHoklch(47.67% 0.177 292.9)
XYZxyz(15.3712, 9.6001, 44.7502)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643FB5 #90B53F
analogous
#3F55B5 #643FB5 #9F3FB5
triadic
#643FB5 #B5643F #3FB564
tetradic
#643FB5 #B53F55 #90B53F #3FB59F
square
#643FB5 #B53F55 #90B53F #3FB59F
split-complementary
#643FB5 #B59F3F #55B53F
monochromatic
#321F5A #4B2F88 #643FB5 #8667CA #AA94DA

Accessibility & contrast

On white

7.19
#643FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#643FB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643FB5
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643FB5#FFFFFF#000000##FFFFFF
##643FB51.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)
#0059B9
Deuteranopia (green-blind)
#0055B3
Tritanopia (blue-blind)
#4D5B74
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #643fb5;
/* rgb */ color: rgb(100, 63, 181);
/* oklch */ color: oklch(47.7% 0.177 292.9);
Tailwind
colors: {
  custom: {
    50: '#9776cc',
    500: '#643fb5',
    950: '#000000',
  },
}
SCSS
$custom: #643fb5;
$custom-light: #9776cc;
$custom-dark: #000000;
JSON
{
  "hex": "#643fb5",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 181
  },
  "hsl": {
    "h": 258.814,
    "s": 48.361,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47666,
    "c": 0.17721,
    "h": 292.9
  },
  "luminance": 0.09601
}

Semantic roles & 50–950 ramp

primary
#643FB5
secondary
#B3C58A
accent
#D850AD
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #643FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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