#643AA2#643AA2

#643AA2 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.5% C 0.161 H 298.3°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#643AA2
RGBrgb(100, 58, 162)
HSLhsl(264, 47%, 43%)
HSVhsv(264, 64%, 64%)
CMYKcmyk(38.3%, 64.2%, 0%, 36.5%)
CIE-LABlab(34.69, 41.02, -49.72)
CIE-LCHlch(34.69, 64.46, 309.52°)
OKLaboklab(45.47% 0.0763 -0.1415)
OKLCHoklch(45.47% 0.161 298.3)
XYZxyz(13.2885, 8.3439, 35.0858)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643AA2 #78A23A
analogous
#3A44A2 #643AA2 #983AA2
triadic
#643AA2 #A2643A #3AA264
tetradic
#643AA2 #A23A44 #78A23A #3AA298
square
#643AA2 #A23A44 #78A23A #3AA298
split-complementary
#643AA2 #A2983A #44A23A
monochromatic
#2C1A48 #482A75 #643AA2 #8257C3 #A484D3

Accessibility & contrast

On white

7.87
#643AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#643AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643AA2
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643AA2#FFFFFF#000000##FFFFFF
##643AA21.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#0351A0
Tritanopia (blue-blind)
#565168
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #643aa2;
/* rgb */ color: rgb(100, 58, 162);
/* oklch */ color: oklch(45.5% 0.161 298.3);
Tailwind
colors: {
  custom: {
    50: '#9573be',
    500: '#643aa2',
    950: '#000000',
  },
}
SCSS
$custom: #643aa2;
$custom-light: #9573be;
$custom-dark: #000000;
JSON
{
  "hex": "#643aa2",
  "rgb": {
    "r": 100,
    "g": 58,
    "b": 162
  },
  "hsl": {
    "h": 264.231,
    "s": 47.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45468,
    "c": 0.16078,
    "h": 298.3
  },
  "luminance": 0.08344
}

Semantic roles & 50–950 ramp

primary
#643AA2
secondary
#A2BD7B
accent
#D751A1
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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