#643ED5#643ED5

#643ED5 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.2% C 0.216 H 287.4°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#643ED5
RGBrgb(100, 62, 213)
HSLhsl(255, 64%, 54%)
HSVhsv(255, 71%, 84%)
CMYKcmyk(53.1%, 70.9%, 0%, 16.5%)
CIE-LABlab(39.51, 53.01, -71.87)
CIE-LCHlch(39.51, 89.31, 306.41°)
OKLaboklab(50.18% 0.0647 -0.2066)
OKLCHoklch(50.18% 0.217 287.4)
XYZxyz(18.9848, 10.9577, 64.0526)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643ED5 #AFD53E
analogous
#3E64D5 #643ED5 #AF3ED5
triadic
#643ED5 #D5643E #3ED564
tetradic
#643ED5 #D53E64 #AFD53E #3ED5AF
square
#643ED5 #D53E64 #AFD53E #3ED5AF
split-complementary
#643ED5 #D5AF3E #64D53E
monochromatic
#341B7D #4926B0 #643ED5 #8C70E0 #B5A3EB

Accessibility & contrast

On white

6.58
#643ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#643ED5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #643ED5
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643ED5#FFFFFF#000000##FFFFFF
##643ED51.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D9
Deuteranopia (green-blind)
#0059D2
Tritanopia (blue-blind)
#366685
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #643ed5;
/* rgb */ color: rgb(100, 62, 213);
/* oklch */ color: oklch(50.2% 0.216 287.4);
Tailwind
colors: {
  custom: {
    50: '#9b77e3',
    500: '#643ed5',
    950: '#000000',
  },
}
SCSS
$custom: #643ed5;
$custom-light: #9b77e3;
$custom-dark: #000000;
JSON
{
  "hex": "#643ed5",
  "rgb": {
    "r": 100,
    "g": 62,
    "b": 213
  },
  "hsl": {
    "h": 255.099,
    "s": 64.255,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50184,
    "c": 0.2165,
    "h": 287.4
  },
  "luminance": 0.10959
}

Semantic roles & 50–950 ramp

primary
#643ED5
secondary
#C7D897
accent
#E741BD
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #643ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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