#643AD9#643AD9

#643AD9 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.0% C 0.225 H 287.3°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#643AD9
RGBrgb(100, 58, 217)
HSLhsl(256, 68%, 54%)
HSVhsv(256, 73%, 85%)
CMYKcmyk(53.9%, 73.3%, 0%, 14.9%)
CIE-LABlab(39.15, 56.13, -74.77)
CIE-LCHlch(39.15, 93.49, 306.90°)
OKLaboklab(50.03% 0.067 -0.2151)
OKLCHoklch(50.03% 0.225 287.3)
XYZxyz(19.2893, 10.7442, 66.6896)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643AD9 #AFD93A
analogous
#3A60D9 #643AD9 #B43AD9
triadic
#643AD9 #D9643A #3AD964
tetradic
#643AD9 #D93A60 #AFD93A #3AD9B4
square
#643AD9 #D93A60 #AFD93A #3AD9B4
split-complementary
#643AD9 #D9B43A #60D93A
monochromatic
#341980 #4923B3 #643AD9 #8C6DE3 #B5A1ED

Accessibility & contrast

On white

6.67
#643AD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#643AD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #643AD9
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643AD9#FFFFFF#000000##FFFFFF
##643AD91.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060DE
Deuteranopia (green-blind)
#0058D6
Tritanopia (blue-blind)
#336687
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #643ad9;
/* rgb */ color: rgb(100, 58, 217);
/* oklch */ color: oklch(50.0% 0.225 287.3);
Tailwind
colors: {
  custom: {
    50: '#9c74e6',
    500: '#643ad9',
    950: '#000000',
  },
}
SCSS
$custom: #643ad9;
$custom-light: #9c74e6;
$custom-dark: #000000;
JSON
{
  "hex": "#643ad9",
  "rgb": {
    "r": 100,
    "g": 58,
    "b": 217
  },
  "hsl": {
    "h": 255.849,
    "s": 67.66,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50034,
    "c": 0.22526,
    "h": 287.3
  },
  "luminance": 0.10745
}

Semantic roles & 50–950 ramp

primary
#643AD9
secondary
#C7D995
accent
#EB3DBD
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #643AD9

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

Preview Lab → · Contrast checker → · Palette generator →

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