#643DC4#643DC4

#643DC4 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.6% C 0.198 H 290.3°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#643DC4
RGBrgb(100, 61, 196)
HSLhsl(257, 53%, 50%)
HSVhsv(257, 69%, 77%)
CMYKcmyk(49%, 68.9%, 0%, 23.1%)
CIE-LABlab(37.90, 48.75, -64.65)
CIE-LCHlch(37.90, 80.98, 307.02°)
OKLaboklab(48.6% 0.0687 -0.1854)
OKLCHoklch(48.6% 0.198 290.3)
XYZxyz(16.8852, 10.0317, 53.2605)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643DC4 #9DC43D
analogous
#3D59C4 #643DC4 #A73DC4
triadic
#643DC4 #C4643D #3DC464
tetradic
#643DC4 #C43D59 #9DC43D #3DC4A7
square
#643DC4 #C43D59 #9DC43D #3DC4A7
split-complementary
#643DC4 #C4A73D #59C43D
monochromatic
#341F67 #4C2E96 #643DC4 #896CD2 #AF9BE1

Accessibility & contrast

On white

6.99
#643DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#643DC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #643DC4
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643DC4#FFFFFF#000000##FFFFFF
##643DC41.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC8
Deuteranopia (green-blind)
#0056C1
Tritanopia (blue-blind)
#445F7C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #643dc4;
/* rgb */ color: rgb(100, 61, 196);
/* oklch */ color: oklch(48.6% 0.198 290.3);
Tailwind
colors: {
  custom: {
    50: '#9975d7',
    500: '#643dc4',
    950: '#000000',
  },
}
SCSS
$custom: #643dc4;
$custom-light: #9975d7;
$custom-dark: #000000;
JSON
{
  "hex": "#643dc4",
  "rgb": {
    "r": 100,
    "g": 61,
    "b": 196
  },
  "hsl": {
    "h": 257.333,
    "s": 53.36,
    "l": 50.392
  },
  "oklch": {
    "l": 0.48598,
    "c": 0.19775,
    "h": 290.3
  },
  "luminance": 0.10032
}

Semantic roles & 50–950 ramp

primary
#643DC4
secondary
#BBCD90
accent
#DD4BB3
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0914
muted
#7E7B83

Preview Lab

Preview with #643DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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