#643FAC#643FAC

#643FAC is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.0% C 0.166 H 294.8°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#643FAC
RGBrgb(100, 63, 172)
HSLhsl(260, 46%, 46%)
HSVhsv(260, 63%, 67%)
CMYKcmyk(41.9%, 63.4%, 0%, 32.5%)
CIE-LABlab(36.45, 40.96, -52.86)
CIE-LCHlch(36.45, 66.88, 307.77°)
OKLaboklab(46.97% 0.0697 -0.1508)
OKLCHoklch(46.97% 0.166 294.8)
XYZxyz(14.4775, 9.2426, 40.0429)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643FAC #87AC3F
analogous
#3F50AC #643FAC #9A3FAC
triadic
#643FAC #AC643F #3FAC64
tetradic
#643FAC #AC3F50 #87AC3F #3FAC9A
square
#643FAC #AC3F50 #87AC3F #3FAC9A
split-complementary
#643FAC #AC9A3F #50AC3F
monochromatic
#301E52 #4A2F7F #643FAC #8463C6 #A78FD6

Accessibility & contrast

On white

7.37
#643FAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#643FAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643FAC
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643FAC#FFFFFF#000000##FFFFFF
##643FAC1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AF
Deuteranopia (green-blind)
#0054AA
Tritanopia (blue-blind)
#51586F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #643fac;
/* rgb */ color: rgb(100, 63, 172);
/* oklch */ color: oklch(47.0% 0.166 294.8);
Tailwind
colors: {
  custom: {
    50: '#9576c5',
    500: '#643fac',
    950: '#000000',
  },
}
SCSS
$custom: #643fac;
$custom-light: #9576c5;
$custom-dark: #000000;
JSON
{
  "hex": "#643fac",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 172
  },
  "hsl": {
    "h": 260.367,
    "s": 46.383,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46972,
    "c": 0.1661,
    "h": 294.8
  },
  "luminance": 0.09243
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #643FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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