#643FB4#643FB4

#643FB4 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.6% C 0.176 H 293.1°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#643FB4
RGBrgb(100, 63, 180)
HSLhsl(259, 48%, 48%)
HSVhsv(259, 65%, 71%)
CMYKcmyk(44.4%, 65%, 0%, 29.4%)
CIE-LABlab(37.04, 43.19, -56.65)
CIE-LCHlch(37.04, 71.24, 307.32°)
OKLaboklab(47.59% 0.0689 -0.1619)
OKLCHoklch(47.59% 0.176 293.1)
XYZxyz(15.2690, 9.5592, 44.2118)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643FB4 #8FB43F
analogous
#3F55B4 #643FB4 #9E3FB4
triadic
#643FB4 #B4643F #3FB464
tetradic
#643FB4 #B43F55 #8FB43F #3FB49E
square
#643FB4 #B43F55 #8FB43F #3FB49E
split-complementary
#643FB4 #B49E3F #55B43F
monochromatic
#321F59 #4B2F87 #643FB4 #8667CA #AA94DA

Accessibility & contrast

On white

7.21
#643FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#643FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643FB4
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643FB4#FFFFFF#000000##FFFFFF
##643FB41.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B8
Deuteranopia (green-blind)
#0055B2
Tritanopia (blue-blind)
#4D5B74
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #643fb4;
/* rgb */ color: rgb(100, 63, 180);
/* oklch */ color: oklch(47.6% 0.176 293.1);
Tailwind
colors: {
  custom: {
    50: '#9676cb',
    500: '#643fb4',
    950: '#000000',
  },
}
SCSS
$custom: #643fb4;
$custom-light: #9676cb;
$custom-dark: #000000;
JSON
{
  "hex": "#643fb4",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 180
  },
  "hsl": {
    "h": 258.974,
    "s": 48.148,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47587,
    "c": 0.17598,
    "h": 293.1
  },
  "luminance": 0.0956
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #643FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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