#643FC4#643FC4

#643FC4 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.9% C 0.195 H 290.0°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#643FC4
RGBrgb(100, 63, 196)
HSLhsl(257, 53%, 51%)
HSVhsv(257, 68%, 77%)
CMYKcmyk(49%, 67.9%, 0%, 23.1%)
CIE-LABlab(38.29, 47.69, -64.02)
CIE-LCHlch(38.29, 79.83, 306.68°)
OKLaboklab(48.88% 0.0668 -0.1836)
OKLCHoklch(48.88% 0.195 290)
XYZxyz(16.9940, 10.2492, 53.2967)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643FC4 #9FC43F
analogous
#3F5CC4 #643FC4 #A73FC4
triadic
#643FC4 #C4643F #3FC464
tetradic
#643FC4 #C43F5C #9FC43F #3FC4A7
square
#643FC4 #C43F5C #9FC43F #3FC4A7
split-complementary
#643FC4 #C4A73F #5CC43F
monochromatic
#342068 #4C2E97 #643FC4 #8A6ED2 #B09DE1

Accessibility & contrast

On white

6.89
#643FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#643FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #643FC4
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643FC4#FFFFFF#000000##FFFFFF
##643FC41.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC8
Deuteranopia (green-blind)
#0057C1
Tritanopia (blue-blind)
#44607C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #643fc4;
/* rgb */ color: rgb(100, 63, 196);
/* oklch */ color: oklch(48.9% 0.195 290.0);
Tailwind
colors: {
  custom: {
    50: '#9877d7',
    500: '#643fc4',
    950: '#000000',
  },
}
SCSS
$custom: #643fc4;
$custom-light: #9877d7;
$custom-dark: #000000;
JSON
{
  "hex": "#643fc4",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 196
  },
  "hsl": {
    "h": 256.692,
    "s": 52.988,
    "l": 50.784
  },
  "oklch": {
    "l": 0.48875,
    "c": 0.19536,
    "h": 290
  },
  "luminance": 0.1025
}

Semantic roles & 50–950 ramp

primary
#643FC4
secondary
#BCCD92
accent
#DC4BB4
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0914
muted
#7E7B83

Preview Lab

Preview with #643FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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