#643AA7#643AA7

#643AA7 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.8% C 0.167 H 297.0°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#643AA7
RGBrgb(100, 58, 167)
HSLhsl(263, 48%, 44%)
HSVhsv(263, 65%, 65%)
CMYKcmyk(40.1%, 65.3%, 0%, 34.5%)
CIE-LABlab(35.05, 42.37, -52.13)
CIE-LCHlch(35.05, 67.18, 309.10°)
OKLaboklab(45.85% 0.0758 -0.1486)
OKLCHoklch(45.85% 0.167 297)
XYZxyz(13.7418, 8.5252, 37.4733)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643AA7 #7DA73A
analogous
#3A47A7 #643AA7 #9B3AA7
triadic
#643AA7 #A7643A #3AA764
tetradic
#643AA7 #A73A47 #7DA73A #3AA79B
square
#643AA7 #A73A47 #7DA73A #3AA79B
split-complementary
#643AA7 #A79B3A #47A73A
monochromatic
#2E1A4C #492A7A #643AA7 #8359C5 #A586D5

Accessibility & contrast

On white

7.76
#643AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#643AA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643AA7
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643AA7#FFFFFF#000000##FFFFFF
##643AA71.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AA
Deuteranopia (green-blind)
#0051A5
Tritanopia (blue-blind)
#54536B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #643aa7;
/* rgb */ color: rgb(100, 58, 167);
/* oklch */ color: oklch(45.8% 0.167 297.0);
Tailwind
colors: {
  custom: {
    50: '#9573c2',
    500: '#643aa7',
    950: '#000000',
  },
}
SCSS
$custom: #643aa7;
$custom-light: #9573c2;
$custom-dark: #000000;
JSON
{
  "hex": "#643aa7",
  "rgb": {
    "r": 100,
    "g": 58,
    "b": 167
  },
  "hsl": {
    "h": 263.119,
    "s": 48.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45847,
    "c": 0.16684,
    "h": 297
  },
  "luminance": 0.08525
}

Semantic roles & 50–950 ramp

primary
#643AA7
secondary
#A6BF7E
accent
#D850A4
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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