#643FD9#643FD9

#643FD9 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.7% C 0.220 H 286.7°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#643FD9
RGBrgb(100, 63, 217)
HSLhsl(254, 67%, 55%)
HSVhsv(254, 71%, 85%)
CMYKcmyk(53.9%, 71%, 0%, 14.9%)
CIE-LABlab(40.04, 53.63, -73.31)
CIE-LCHlch(40.04, 90.83, 306.19°)
OKLaboklab(50.66% 0.0631 -0.2108)
OKLCHoklch(50.66% 0.22 286.7)
XYZxyz(19.5537, 11.2730, 66.7778)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643FD9 #B4D93F
analogous
#3F67D9 #643FD9 #B13FD9
triadic
#643FD9 #D9643F #3FD964
tetradic
#643FD9 #D93F67 #B4D93F #3FD9B1
square
#643FD9 #D93F67 #B4D93F #3FD9B1
split-complementary
#643FD9 #D9B13F #67D93F
monochromatic
#331A84 #4724B7 #643FD9 #8D72E3 #B6A5ED

Accessibility & contrast

On white

6.45
#643FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#643FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #643FD9
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643FD9#FFFFFF#000000##FFFFFF
##643FD91.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DE
Deuteranopia (green-blind)
#005AD6
Tritanopia (blue-blind)
#326888
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #643fd9;
/* rgb */ color: rgb(100, 63, 217);
/* oklch */ color: oklch(50.7% 0.220 286.7);
Tailwind
colors: {
  custom: {
    50: '#9b77e6',
    500: '#643fd9',
    950: '#000000',
  },
}
SCSS
$custom: #643fd9;
$custom-light: #9b77e6;
$custom-dark: #000000;
JSON
{
  "hex": "#643fd9",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 217
  },
  "hsl": {
    "h": 254.416,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.50664,
    "c": 0.22005,
    "h": 286.7
  },
  "luminance": 0.11274
}

Semantic roles & 50–950 ramp

primary
#643FD9
secondary
#CBDA9A
accent
#EA3EC1
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #643FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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