#643C9F#643C9F

#643C9F is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.5% C 0.154 H 298.7°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#643C9F
RGBrgb(100, 60, 159)
HSLhsl(264, 45%, 43%)
HSVhsv(264, 62%, 62%)
CMYKcmyk(37.1%, 62.3%, 0%, 37.6%)
CIE-LABlab(34.89, 39.10, -47.59)
CIE-LCHlch(34.89, 61.59, 309.41°)
OKLaboklab(45.55% 0.0741 -0.1352)
OKLCHoklch(45.55% 0.154 298.7)
XYZxyz(13.1278, 8.4441, 33.7324)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643C9F #779F3C
analogous
#3C469F #643C9F #953C9F
triadic
#643C9F #9F643C #3C9F64
tetradic
#643C9F #9F3C46 #779F3C #3C9F95
square
#643C9F #9F3C46 #779F3C #3C9F95
split-complementary
#643C9F #9F953C #469F3C
monochromatic
#2C1A46 #482B73 #643C9F #8258C0 #A385D1

Accessibility & contrast

On white

7.81
#643C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#643C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643C9F
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643C9F#FFFFFF#000000##FFFFFF
##643C9F1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#13519D
Tritanopia (blue-blind)
#575168
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #643c9f;
/* rgb */ color: rgb(100, 60, 159);
/* oklch */ color: oklch(45.5% 0.154 298.7);
Tailwind
colors: {
  custom: {
    50: '#9474bc',
    500: '#643c9f',
    950: '#000000',
  },
}
SCSS
$custom: #643c9f;
$custom-light: #9474bc;
$custom-dark: #000000;
JSON
{
  "hex": "#643c9f",
  "rgb": {
    "r": 100,
    "g": 60,
    "b": 159
  },
  "hsl": {
    "h": 264.242,
    "s": 45.205,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45547,
    "c": 0.15422,
    "h": 298.7
  },
  "luminance": 0.08444
}

Semantic roles & 50–950 ramp

primary
#643C9F
secondary
#A1BB7C
accent
#D553A0
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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