#643FB6#643FB6

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

Color values

HEX#643FB6
RGBrgb(100, 63, 182)
HSLhsl(259, 49%, 48%)
HSVhsv(259, 65%, 71%)
CMYKcmyk(45.1%, 65.4%, 0%, 28.6%)
CIE-LABlab(37.19, 43.75, -57.59)
CIE-LCHlch(37.19, 72.32, 307.22°)
OKLaboklab(47.74% 0.0687 -0.1647)
OKLCHoklch(47.74% 0.178 292.7)
XYZxyz(15.4742, 9.6413, 45.2925)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643FB6 #91B63F
analogous
#3F56B6 #643FB6 #9F3FB6
triadic
#643FB6 #B6643F #3FB664
tetradic
#643FB6 #B63F56 #91B63F #3FB69F
square
#643FB6 #B63F56 #91B63F #3FB69F
split-complementary
#643FB6 #B69F3F #56B63F
monochromatic
#32205B #4B2F89 #643FB6 #8668CB #AB95DA

Accessibility & contrast

On white

7.17
#643FB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#643FB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643FB6
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643FB6#FFFFFF#000000##FFFFFF
##643FB61.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BA
Deuteranopia (green-blind)
#0055B4
Tritanopia (blue-blind)
#4C5B75
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #643fb6;
/* rgb */ color: rgb(100, 63, 182);
/* oklch */ color: oklch(47.7% 0.178 292.7);
Tailwind
colors: {
  custom: {
    50: '#9776cd',
    500: '#643fb6',
    950: '#000000',
  },
}
SCSS
$custom: #643fb6;
$custom-light: #9776cd;
$custom-dark: #000000;
JSON
{
  "hex": "#643fb6",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 182
  },
  "hsl": {
    "h": 258.655,
    "s": 48.571,
    "l": 48.039
  },
  "oklch": {
    "l": 0.47744,
    "c": 0.17842,
    "h": 292.7
  },
  "luminance": 0.09642
}

Semantic roles & 50–950 ramp

primary
#643FB6
secondary
#B4C68B
accent
#D850AE
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #643FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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