#643CAD#643CAD

#643CAD is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.6% C 0.171 H 295.2°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#643CAD
RGBrgb(100, 60, 173)
HSLhsl(261, 48%, 46%)
HSVhsv(261, 65%, 68%)
CMYKcmyk(42.2%, 65.3%, 0%, 32.2%)
CIE-LABlab(35.90, 42.91, -54.34)
CIE-LCHlch(35.90, 69.24, 308.29°)
OKLaboklab(46.6% 0.073 -0.1551)
OKLCHoklch(46.6% 0.171 295.2)
XYZxyz(14.4122, 8.9578, 40.4968)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643CAD #85AD3C
analogous
#3C4CAD #643CAD #9C3CAD
triadic
#643CAD #AD643C #3CAD64
tetradic
#643CAD #AD3C4C #85AD3C #3CAD9C
square
#643CAD #AD3C4C #85AD3C #3CAD9C
split-complementary
#643CAD #AD9C3C #4CAD3C
monochromatic
#2F1C52 #4A2C80 #643CAD #845FC7 #A78CD7

Accessibility & contrast

On white

7.52
#643CAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#643CAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643CAD
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643CAD#FFFFFF#000000##FFFFFF
##643CAD1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B1
Deuteranopia (green-blind)
#0053AB
Tritanopia (blue-blind)
#51566F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #643cad;
/* rgb */ color: rgb(100, 60, 173);
/* oklch */ color: oklch(46.6% 0.171 295.2);
Tailwind
colors: {
  custom: {
    50: '#9674c6',
    500: '#643cad',
    950: '#000000',
  },
}
SCSS
$custom: #643cad;
$custom-light: #9674c6;
$custom-dark: #000000;
JSON
{
  "hex": "#643cad",
  "rgb": {
    "r": 100,
    "g": 60,
    "b": 173
  },
  "hsl": {
    "h": 261.239,
    "s": 48.498,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46601,
    "c": 0.17142,
    "h": 295.2
  },
  "luminance": 0.08958
}

Semantic roles & 50–950 ramp

primary
#643CAD
secondary
#ACC283
accent
#D850A8
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #643CAD

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

Preview Lab → · Contrast checker → · Palette generator →

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