#643FC5#643FC5

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

Color values

HEX#643FC5
RGBrgb(100, 63, 197)
HSLhsl(257, 54%, 51%)
HSVhsv(257, 68%, 77%)
CMYKcmyk(49.2%, 68%, 0%, 22.7%)
CIE-LABlab(38.37, 47.97, -64.47)
CIE-LCHlch(38.37, 80.36, 306.65°)
OKLaboklab(48.96% 0.0667 -0.1849)
OKLCHoklch(48.96% 0.197 289.8)
XYZxyz(17.1082, 10.2949, 53.8982)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643FC5 #A0C53F
analogous
#3F5DC5 #643FC5 #A73FC5
triadic
#643FC5 #C5643F #3FC564
tetradic
#643FC5 #C53F5D #A0C53F #3FC5A7
square
#643FC5 #C53F5D #A0C53F #3FC5A7
split-complementary
#643FC5 #C5A73F #5DC53F
monochromatic
#34206A #4C2E99 #643FC5 #8A6ED3 #B09DE1

Accessibility & contrast

On white

6.86
#643FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#643FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #643FC5
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643FC5#FFFFFF#000000##FFFFFF
##643FC51.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC9
Deuteranopia (green-blind)
#0057C2
Tritanopia (blue-blind)
#43617D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #643fc5;
/* rgb */ color: rgb(100, 63, 197);
/* oklch */ color: oklch(49.0% 0.197 289.8);
Tailwind
colors: {
  custom: {
    50: '#9977d8',
    500: '#643fc5',
    950: '#000000',
  },
}
SCSS
$custom: #643fc5;
$custom-light: #9977d8;
$custom-dark: #000000;
JSON
{
  "hex": "#643fc5",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 197
  },
  "hsl": {
    "h": 256.567,
    "s": 53.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48957,
    "c": 0.19656,
    "h": 289.8
  },
  "luminance": 0.10296
}

Semantic roles & 50–950 ramp

primary
#643FC5
secondary
#BDCE92
accent
#DD4BB5
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #643FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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