#643FA1#643FA1

#643FA1 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.2% C 0.152 H 297.5°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#643FA1
RGBrgb(100, 63, 161)
HSLhsl(263, 44%, 44%)
HSVhsv(263, 61%, 63%)
CMYKcmyk(37.9%, 60.9%, 0%, 36.9%)
CIE-LABlab(35.67, 37.94, -47.54)
CIE-LCHlch(35.67, 60.82, 308.59°)
OKLaboklab(46.16% 0.0703 -0.1351)
OKLCHoklch(46.16% 0.152 297.5)
XYZxyz(13.4644, 8.8373, 34.7077)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643FA1 #7CA13F
analogous
#3F4BA1 #643FA1 #953FA1
triadic
#643FA1 #A1643F #3FA164
tetradic
#643FA1 #A13F4B #7CA13F #3FA195
square
#643FA1 #A13F4B #7CA13F #3FA195
split-complementary
#643FA1 #A1953F #4BA13F
monochromatic
#2D1D49 #492E75 #643FA1 #835DC0 #A489D1

Accessibility & contrast

On white

7.59
#643FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#643FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643FA1
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643FA1#FFFFFF#000000##FFFFFF
##643FA11.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A4
Deuteranopia (green-blind)
#17539F
Tritanopia (blue-blind)
#56546A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #643fa1;
/* rgb */ color: rgb(100, 63, 161);
/* oklch */ color: oklch(46.2% 0.152 297.5);
Tailwind
colors: {
  custom: {
    50: '#9476bd',
    500: '#643fa1',
    950: '#000000',
  },
}
SCSS
$custom: #643fa1;
$custom-light: #9476bd;
$custom-dark: #000000;
JSON
{
  "hex": "#643fa1",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 161
  },
  "hsl": {
    "h": 262.653,
    "s": 43.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46158,
    "c": 0.15231,
    "h": 297.5
  },
  "luminance": 0.08838
}

Semantic roles & 50–950 ramp

primary
#643FA1
secondary
#A5BC80
accent
#D354A3
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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