#643FAB#643FAB

#643FAB is a mid, vivid violet. Relative luminance 0.092; OKLCH L 46.9% C 0.165 H 295.0°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#643FAB
RGBrgb(100, 63, 171)
HSLhsl(261, 46%, 46%)
HSVhsv(261, 63%, 67%)
CMYKcmyk(41.5%, 63.2%, 0%, 32.9%)
CIE-LABlab(36.37, 40.68, -52.39)
CIE-LCHlch(36.37, 66.33, 307.83°)
OKLaboklab(46.9% 0.0698 -0.1494)
OKLCHoklch(46.9% 0.165 295)
XYZxyz(14.3818, 9.2043, 39.5391)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643FAB #86AB3F
analogous
#3F50AB #643FAB #9A3FAB
triadic
#643FAB #AB643F #3FAB64
tetradic
#643FAB #AB3F50 #86AB3F #3FAB9A
square
#643FAB #AB3F50 #86AB3F #3FAB9A
split-complementary
#643FAB #AB9A3F #50AB3F
monochromatic
#301E52 #4A2F7E #643FAB #8462C5 #A78FD6

Accessibility & contrast

On white

7.39
#643FAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#643FAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643FAB
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643FAB#FFFFFF#000000##FFFFFF
##643FAB1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AE
Deuteranopia (green-blind)
#0054A9
Tritanopia (blue-blind)
#52576F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #643fab;
/* rgb */ color: rgb(100, 63, 171);
/* oklch */ color: oklch(46.9% 0.165 295.0);
Tailwind
colors: {
  custom: {
    50: '#9576c5',
    500: '#643fab',
    950: '#000000',
  },
}
SCSS
$custom: #643fab;
$custom-light: #9576c5;
$custom-dark: #000000;
JSON
{
  "hex": "#643fab",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 171
  },
  "hsl": {
    "h": 260.556,
    "s": 46.154,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46896,
    "c": 0.16485,
    "h": 295
  },
  "luminance": 0.09205
}

Semantic roles & 50–950 ramp

primary
#643FAB
secondary
#ACC185
accent
#D652A9
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #643FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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