#643FA4#643FA4

#643FA4 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.4% C 0.156 H 296.7°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#643FA4
RGBrgb(100, 63, 164)
HSLhsl(262, 44%, 45%)
HSVhsv(262, 62%, 64%)
CMYKcmyk(39%, 61.6%, 0%, 35.7%)
CIE-LABlab(35.88, 38.76, -49.00)
CIE-LCHlch(35.88, 62.48, 308.34°)
OKLaboklab(46.38% 0.0702 -0.1394)
OKLCHoklch(46.38% 0.156 296.7)
XYZxyz(13.7322, 8.9444, 36.1177)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643FA4 #7FA43F
analogous
#3F4DA4 #643FA4 #973FA4
triadic
#643FA4 #A4643F #3FA464
tetradic
#643FA4 #A43F4D #7FA43F #3FA497
square
#643FA4 #A43F4D #7FA43F #3FA497
split-complementary
#643FA4 #A4973F #4DA43F
monochromatic
#2E1D4C #492E78 #643FA4 #835FC1 #A58BD2

Accessibility & contrast

On white

7.53
#643FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#643FA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643FA4
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643FA4#FFFFFF#000000##FFFFFF
##643FA41.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A7
Deuteranopia (green-blind)
#0F53A2
Tritanopia (blue-blind)
#55556B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #643fa4;
/* rgb */ color: rgb(100, 63, 164);
/* oklch */ color: oklch(46.4% 0.156 296.7);
Tailwind
colors: {
  custom: {
    50: '#9576c0',
    500: '#643fa4',
    950: '#000000',
  },
}
SCSS
$custom: #643fa4;
$custom-light: #9576c0;
$custom-dark: #000000;
JSON
{
  "hex": "#643fa4",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 164
  },
  "hsl": {
    "h": 261.98,
    "s": 44.493,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46376,
    "c": 0.1561,
    "h": 296.7
  },
  "luminance": 0.08945
}

Semantic roles & 50–950 ramp

primary
#643FA4
secondary
#A7BD82
accent
#D454A5
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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