#643FC7#643FC7

#643FC7 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.1% C 0.199 H 289.5°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#643FC7
RGBrgb(100, 63, 199)
HSLhsl(256, 55%, 51%)
HSVhsv(256, 68%, 78%)
CMYKcmyk(49.7%, 68.3%, 0%, 22%)
CIE-LABlab(38.53, 48.54, -65.38)
CIE-LCHlch(38.53, 81.42, 306.59°)
OKLaboklab(49.12% 0.0664 -0.1875)
OKLCHoklch(49.12% 0.199 289.5)
XYZxyz(17.3389, 10.3871, 55.1131)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643FC7 #A2C73F
analogous
#3F5EC7 #643FC7 #A83FC7
triadic
#643FC7 #C7643F #3FC764
tetradic
#643FC7 #C73F5E #A2C73F #3FC7A8
square
#643FC7 #C73F5E #A2C73F #3FC7A8
split-complementary
#643FC7 #C7A83F #5EC73F
monochromatic
#34206C #4B2D9B #643FC7 #8A6ED5 #B19EE3

Accessibility & contrast

On white

6.82
#643FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#643FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #643FC7
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643FC7#FFFFFF#000000##FFFFFF
##643FC71.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCB
Deuteranopia (green-blind)
#0057C4
Tritanopia (blue-blind)
#42617E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #643fc7;
/* rgb */ color: rgb(100, 63, 199);
/* oklch */ color: oklch(49.1% 0.199 289.5);
Tailwind
colors: {
  custom: {
    50: '#9977d9',
    500: '#643fc7',
    950: '#000000',
  },
}
SCSS
$custom: #643fc7;
$custom-light: #9977d9;
$custom-dark: #000000;
JSON
{
  "hex": "#643fc7",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 199
  },
  "hsl": {
    "h": 256.324,
    "s": 54.839,
    "l": 51.373
  },
  "oklch": {
    "l": 0.49124,
    "c": 0.19894,
    "h": 289.5
  },
  "luminance": 0.10388
}

Semantic roles & 50–950 ramp

primary
#643FC7
secondary
#BFCF93
accent
#DE4AB6
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #643FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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