#643FD7#643FD7

#643FD7 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.5% C 0.218 H 286.9°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#643FD7
RGBrgb(100, 63, 215)
HSLhsl(255, 66%, 55%)
HSVhsv(255, 71%, 84%)
CMYKcmyk(53.5%, 70.7%, 0%, 15.7%)
CIE-LABlab(39.86, 53.06, -72.44)
CIE-LCHlch(39.86, 89.80, 306.22°)
OKLaboklab(50.49% 0.0635 -0.2083)
OKLCHoklch(50.49% 0.218 286.9)
XYZxyz(19.2951, 11.1696, 65.4160)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643FD7 #B2D73F
analogous
#3F66D7 #643FD7 #B03FD7
triadic
#643FD7 #D7643F #3FD764
tetradic
#643FD7 #D73F66 #B2D73F #3FD7B0
square
#643FD7 #D73F66 #B2D73F #3FD7B0
split-complementary
#643FD7 #D7B03F #66D73F
monochromatic
#341B81 #4825B3 #643FD7 #8D72E2 #B6A4EC

Accessibility & contrast

On white

6.49
#643FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#643FD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #643FD7
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643FD7#FFFFFF#000000##FFFFFF
##643FD71.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DB
Deuteranopia (green-blind)
#005AD4
Tritanopia (blue-blind)
#346787
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #643fd7;
/* rgb */ color: rgb(100, 63, 215);
/* oklch */ color: oklch(50.5% 0.218 286.9);
Tailwind
colors: {
  custom: {
    50: '#9b77e4',
    500: '#643fd7',
    950: '#000000',
  },
}
SCSS
$custom: #643fd7;
$custom-light: #9b77e4;
$custom-dark: #000000;
JSON
{
  "hex": "#643fd7",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 215
  },
  "hsl": {
    "h": 254.605,
    "s": 65.517,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50489,
    "c": 0.21773,
    "h": 286.9
  },
  "luminance": 0.11171
}

Semantic roles & 50–950 ramp

primary
#643FD7
secondary
#C9D999
accent
#E83FBF
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #643FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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