#643FC2#643FC2

#643FC2 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.7% C 0.193 H 290.4°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#643FC2
RGBrgb(100, 63, 194)
HSLhsl(257, 52%, 50%)
HSVhsv(257, 68%, 76%)
CMYKcmyk(48.5%, 67.5%, 0%, 23.9%)
CIE-LABlab(38.13, 47.12, -63.12)
CIE-LCHlch(38.13, 78.77, 306.75°)
OKLaboklab(48.71% 0.0671 -0.1809)
OKLCHoklch(48.71% 0.193 290.4)
XYZxyz(16.7679, 10.1587, 52.1058)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643FC2 #9DC23F
analogous
#3F5BC2 #643FC2 #A63FC2
triadic
#643FC2 #C2643F #3FC264
tetradic
#643FC2 #C23F5B #9DC23F #3FC2A6
square
#643FC2 #C23F5B #9DC23F #3FC2A6
split-complementary
#643FC2 #C2A63F #5BC23F
monochromatic
#342066 #4C2F95 #643FC2 #896DD1 #AF9CE0

Accessibility & contrast

On white

6.93
#643FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#643FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #643FC2
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643FC2#FFFFFF#000000##FFFFFF
##643FC21.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC6
Deuteranopia (green-blind)
#0057BF
Tritanopia (blue-blind)
#45607B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #643fc2;
/* rgb */ color: rgb(100, 63, 194);
/* oklch */ color: oklch(48.7% 0.193 290.4);
Tailwind
colors: {
  custom: {
    50: '#9877d5',
    500: '#643fc2',
    950: '#000000',
  },
}
SCSS
$custom: #643fc2;
$custom-light: #9877d5;
$custom-dark: #000000;
JSON
{
  "hex": "#643fc2",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 194
  },
  "hsl": {
    "h": 256.947,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.4871,
    "c": 0.19297,
    "h": 290.4
  },
  "luminance": 0.10159
}

Semantic roles & 50–950 ramp

primary
#643FC2
secondary
#BBCC91
accent
#DB4DB3
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0914
muted
#7E7B83

Preview Lab

Preview with #643FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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