#643DC7#643DC7

#643DC7 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 48.9% C 0.201 H 289.8°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#643DC7
RGBrgb(100, 61, 199)
HSLhsl(257, 55%, 51%)
HSVhsv(257, 69%, 78%)
CMYKcmyk(49.7%, 69.3%, 0%, 22%)
CIE-LABlab(38.15, 49.59, -66.00)
CIE-LCHlch(38.15, 82.56, 306.92°)
OKLaboklab(48.85% 0.0682 -0.1894)
OKLCHoklch(48.85% 0.201 289.8)
XYZxyz(17.2301, 10.1696, 55.0768)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643DC7 #A0C73D
analogous
#3D5BC7 #643DC7 #A93DC7
triadic
#643DC7 #C7643D #3DC764
tetradic
#643DC7 #C73D5B #A0C73D #3DC7A9
square
#643DC7 #C73D5B #A0C73D #3DC7A9
split-complementary
#643DC7 #C7A93D #5BC73D
monochromatic
#341F6B #4C2D9A #643DC7 #8A6CD5 #B09CE2

Accessibility & contrast

On white

6.92
#643DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#643DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #643DC7
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643DC7#FFFFFF#000000##FFFFFF
##643DC71.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCB
Deuteranopia (green-blind)
#0056C4
Tritanopia (blue-blind)
#42607D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #643dc7;
/* rgb */ color: rgb(100, 61, 199);
/* oklch */ color: oklch(48.9% 0.201 289.8);
Tailwind
colors: {
  custom: {
    50: '#9976d9',
    500: '#643dc7',
    950: '#000000',
  },
}
SCSS
$custom: #643dc7;
$custom-light: #9976d9;
$custom-dark: #000000;
JSON
{
  "hex": "#643dc7",
  "rgb": {
    "r": 100,
    "g": 61,
    "b": 199
  },
  "hsl": {
    "h": 256.957,
    "s": 55.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.4885,
    "c": 0.20129,
    "h": 289.8
  },
  "luminance": 0.1017
}

Semantic roles & 50–950 ramp

primary
#643DC7
secondary
#BDCE91
accent
#DF49B4
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #643DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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