#643FA3#643FA3

#643FA3 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.3% C 0.155 H 297.0°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#643FA3
RGBrgb(100, 63, 163)
HSLhsl(262, 44%, 44%)
HSVhsv(262, 61%, 64%)
CMYKcmyk(38.7%, 61.3%, 0%, 36.1%)
CIE-LABlab(35.81, 38.48, -48.52)
CIE-LCHlch(35.81, 61.92, 308.42°)
OKLaboklab(46.3% 0.0703 -0.138)
OKLCHoklch(46.3% 0.155 297)
XYZxyz(13.6422, 8.9085, 35.6440)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643FA3 #7EA33F
analogous
#3F4CA3 #643FA3 #963FA3
triadic
#643FA3 #A3643F #3FA364
tetradic
#643FA3 #A33F4C #7EA33F #3FA396
square
#643FA3 #A33F4C #7EA33F #3FA396
split-complementary
#643FA3 #A3963F #4CA33F
monochromatic
#2E1D4B #492E77 #643FA3 #835EC1 #A58AD2

Accessibility & contrast

On white

7.55
#643FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#643FA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643FA3
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643FA3#FFFFFF#000000##FFFFFF
##643FA31.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A6
Deuteranopia (green-blind)
#1253A1
Tritanopia (blue-blind)
#55556B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #643fa3;
/* rgb */ color: rgb(100, 63, 163);
/* oklch */ color: oklch(46.3% 0.155 297.0);
Tailwind
colors: {
  custom: {
    50: '#9576bf',
    500: '#643fa3',
    950: '#000000',
  },
}
SCSS
$custom: #643fa3;
$custom-light: #9576bf;
$custom-dark: #000000;
JSON
{
  "hex": "#643fa3",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 163
  },
  "hsl": {
    "h": 262.2,
    "s": 44.248,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46303,
    "c": 0.15483,
    "h": 297
  },
  "luminance": 0.08909
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #643FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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