#643FC6#643FC6

#643FC6 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.0% C 0.198 H 289.7°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#643FC6
RGBrgb(100, 63, 198)
HSLhsl(256, 54%, 51%)
HSVhsv(256, 68%, 78%)
CMYKcmyk(49.5%, 68.2%, 0%, 22.4%)
CIE-LABlab(38.45, 48.25, -64.93)
CIE-LCHlch(38.45, 80.89, 306.62°)
OKLaboklab(49.04% 0.0665 -0.1862)
OKLCHoklch(49.04% 0.198 289.7)
XYZxyz(17.2231, 10.3408, 54.5036)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643FC6 #A1C63F
analogous
#3F5DC6 #643FC6 #A73FC6
triadic
#643FC6 #C6643F #3FC664
tetradic
#643FC6 #C63F5D #A1C63F #3FC6A7
square
#643FC6 #C63F5D #A1C63F #3FC6A7
split-complementary
#643FC6 #C6A73F #5DC63F
monochromatic
#34206B #4B2E9A #643FC6 #8A6ED4 #B09DE2

Accessibility & contrast

On white

6.84
#643FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#643FC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #643FC6
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643FC6#FFFFFF#000000##FFFFFF
##643FC61.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCA
Deuteranopia (green-blind)
#0057C3
Tritanopia (blue-blind)
#42617D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #643fc6;
/* rgb */ color: rgb(100, 63, 198);
/* oklch */ color: oklch(49.0% 0.198 289.7);
Tailwind
colors: {
  custom: {
    50: '#9977d8',
    500: '#643fc6',
    950: '#000000',
  },
}
SCSS
$custom: #643fc6;
$custom-light: #9977d8;
$custom-dark: #000000;
JSON
{
  "hex": "#643fc6",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 198
  },
  "hsl": {
    "h": 256.444,
    "s": 54.217,
    "l": 51.176
  },
  "oklch": {
    "l": 0.4904,
    "c": 0.19775,
    "h": 289.7
  },
  "luminance": 0.10342
}

Semantic roles & 50–950 ramp

primary
#643FC6
secondary
#BECE93
accent
#DE4AB5
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #643FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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