#643EAC#643EAC

#643EAC is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.8% C 0.167 H 295.0°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#643EAC
RGBrgb(100, 62, 172)
HSLhsl(261, 47%, 46%)
HSVhsv(261, 64%, 67%)
CMYKcmyk(41.9%, 64%, 0%, 32.5%)
CIE-LABlab(36.24, 41.52, -53.20)
CIE-LCHlch(36.24, 67.49, 307.97°)
OKLaboklab(46.82% 0.0708 -0.1518)
OKLCHoklch(46.82% 0.167 295)
XYZxyz(14.4226, 9.1328, 40.0247)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643EAC #86AC3E
analogous
#3E4FAC #643EAC #9B3EAC
triadic
#643EAC #AC643E #3EAC64
tetradic
#643EAC #AC3E4F #86AC3E #3EAC9B
square
#643EAC #AC3E4F #86AC3E #3EAC9B
split-complementary
#643EAC #AC9B3E #4FAC3E
monochromatic
#301E52 #4A2E7F #643EAC #8461C6 #A78ED6

Accessibility & contrast

On white

7.43
#643EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#643EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643EAC
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643EAC#FFFFFF#000000##FFFFFF
##643EAC1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AF
Deuteranopia (green-blind)
#0054AA
Tritanopia (blue-blind)
#51576F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #643eac;
/* rgb */ color: rgb(100, 62, 172);
/* oklch */ color: oklch(46.8% 0.167 295.0);
Tailwind
colors: {
  custom: {
    50: '#9675c5',
    500: '#643eac',
    950: '#000000',
  },
}
SCSS
$custom: #643eac;
$custom-light: #9675c5;
$custom-dark: #000000;
JSON
{
  "hex": "#643eac",
  "rgb": {
    "r": 100,
    "g": 62,
    "b": 172
  },
  "hsl": {
    "h": 260.727,
    "s": 47.009,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46821,
    "c": 0.16748,
    "h": 295
  },
  "luminance": 0.09133
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #643EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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