#643EC5#643EC5

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

Color values

HEX#643EC5
RGBrgb(100, 62, 197)
HSLhsl(257, 54%, 51%)
HSVhsv(257, 69%, 77%)
CMYKcmyk(49.2%, 68.5%, 0%, 22.7%)
CIE-LABlab(38.17, 48.50, -64.79)
CIE-LCHlch(38.17, 80.94, 306.82°)
OKLaboklab(48.82% 0.0676 -0.1858)
OKLCHoklch(48.82% 0.198 290)
XYZxyz(17.0533, 10.1851, 53.8799)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643EC5 #9FC53E
analogous
#3E5BC5 #643EC5 #A73EC5
triadic
#643EC5 #C5643E #3EC564
tetradic
#643EC5 #C53E5B #9FC53E #3EC5A7
square
#643EC5 #C53E5B #9FC53E #3EC5A7
split-complementary
#643EC5 #C5A73E #5BC53E
monochromatic
#342069 #4C2E98 #643EC5 #8A6DD3 #B09CE1

Accessibility & contrast

On white

6.91
#643EC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#643EC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #643EC5
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643EC5#FFFFFF#000000##FFFFFF
##643EC51.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #643ec5;
/* rgb */ color: rgb(100, 62, 197);
/* oklch */ color: oklch(48.8% 0.198 290.0);
Tailwind
colors: {
  custom: {
    50: '#9976d8',
    500: '#643ec5',
    950: '#000000',
  },
}
SCSS
$custom: #643ec5;
$custom-light: #9976d8;
$custom-dark: #000000;
JSON
{
  "hex": "#643ec5",
  "rgb": {
    "r": 100,
    "g": 62,
    "b": 197
  },
  "hsl": {
    "h": 256.889,
    "s": 53.785,
    "l": 50.784
  },
  "oklch": {
    "l": 0.48818,
    "c": 0.19775,
    "h": 290
  },
  "luminance": 0.10186
}

Semantic roles & 50–950 ramp

primary
#643EC5
secondary
#BCCD91
accent
#DD4BB4
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #643EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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