#643FB1#643FB1

#643FB1 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.4% C 0.172 H 293.7°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#643FB1
RGBrgb(100, 63, 177)
HSLhsl(259, 48%, 47%)
HSVhsv(259, 64%, 69%)
CMYKcmyk(43.5%, 64.4%, 0%, 30.6%)
CIE-LABlab(36.81, 42.35, -55.24)
CIE-LCHlch(36.81, 69.61, 307.48°)
OKLaboklab(47.35% 0.0693 -0.1578)
OKLCHoklch(47.35% 0.172 293.7)
XYZxyz(14.9667, 9.4383, 42.6197)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643FB1 #8CB13F
analogous
#3F53B1 #643FB1 #9D3FB1
triadic
#643FB1 #B1643F #3FB164
tetradic
#643FB1 #B13F53 #8CB13F #3FB19D
square
#643FB1 #B13F53 #8CB13F #3FB19D
split-complementary
#643FB1 #B19D3F #53B13F
monochromatic
#311F57 #4B2F84 #643FB1 #8565C8 #A992D8

Accessibility & contrast

On white

7.27
#643FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#643FB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643FB1
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643FB1#FFFFFF#000000##FFFFFF
##643FB11.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B5
Deuteranopia (green-blind)
#0055AF
Tritanopia (blue-blind)
#4F5A72
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #643fb1;
/* rgb */ color: rgb(100, 63, 177);
/* oklch */ color: oklch(47.4% 0.172 293.7);
Tailwind
colors: {
  custom: {
    50: '#9676c9',
    500: '#643fb1',
    950: '#000000',
  },
}
SCSS
$custom: #643fb1;
$custom-light: #9676c9;
$custom-dark: #000000;
JSON
{
  "hex": "#643fb1",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 177
  },
  "hsl": {
    "h": 259.474,
    "s": 47.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47354,
    "c": 0.17229,
    "h": 293.7
  },
  "luminance": 0.09439
}

Semantic roles & 50–950 ramp

primary
#643FB1
secondary
#B0C488
accent
#D751AB
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #643FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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