#643EAB#643EAB

#643EAB is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.7% C 0.166 H 295.3°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#643EAB
RGBrgb(100, 62, 171)
HSLhsl(261, 47%, 46%)
HSVhsv(261, 64%, 67%)
CMYKcmyk(41.5%, 63.7%, 0%, 32.9%)
CIE-LABlab(36.17, 41.25, -52.72)
CIE-LCHlch(36.17, 66.94, 308.04°)
OKLaboklab(46.74% 0.0709 -0.1504)
OKLCHoklch(46.74% 0.166 295.3)
XYZxyz(14.3269, 9.0945, 39.5208)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643EAB #85AB3E
analogous
#3E4FAB #643EAB #9A3EAB
triadic
#643EAB #AB643E #3EAB64
tetradic
#643EAB #AB3E4F #85AB3E #3EAB9A
square
#643EAB #AB3E4F #85AB3E #3EAB9A
split-complementary
#643EAB #AB9A3E #4FAB3E
monochromatic
#2F1D51 #4A2E7E #643EAB #8461C6 #A78ED6

Accessibility & contrast

On white

7.45
#643EAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#643EAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643EAB
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643EAB#FFFFFF#000000##FFFFFF
##643EAB1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #643eab;
/* rgb */ color: rgb(100, 62, 171);
/* oklch */ color: oklch(46.7% 0.166 295.3);
Tailwind
colors: {
  custom: {
    50: '#9575c5',
    500: '#643eab',
    950: '#000000',
  },
}
SCSS
$custom: #643eab;
$custom-light: #9575c5;
$custom-dark: #000000;
JSON
{
  "hex": "#643eab",
  "rgb": {
    "r": 100,
    "g": 62,
    "b": 171
  },
  "hsl": {
    "h": 260.917,
    "s": 46.781,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46744,
    "c": 0.16625,
    "h": 295.3
  },
  "luminance": 0.09095
}

Semantic roles & 50–950 ramp

primary
#643EAB
secondary
#ACC184
accent
#D651A8
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #643EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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