#643FAA#643FAA

#643FAA is a mid, vivid violet. Relative luminance 0.092; OKLCH L 46.8% C 0.164 H 295.3°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#643FAA
RGBrgb(100, 63, 170)
HSLhsl(261, 46%, 46%)
HSVhsv(261, 63%, 67%)
CMYKcmyk(41.2%, 62.9%, 0%, 33.3%)
CIE-LABlab(36.30, 40.41, -51.91)
CIE-LCHlch(36.30, 65.78, 307.90°)
OKLaboklab(46.82% 0.0698 -0.1479)
OKLCHoklch(46.82% 0.164 295.3)
XYZxyz(14.2868, 9.1663, 39.0390)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643FAA #85AA3F
analogous
#3F4FAA #643FAA #993FAA
triadic
#643FAA #AA643F #3FAA64
tetradic
#643FAA #AA3F4F #85AA3F #3FAA99
square
#643FAA #AA3F4F #85AA3F #3FAA99
split-complementary
#643FAA #AA993F #4FAA3F
monochromatic
#2F1E51 #4A2E7D #643FAA #8462C5 #A78ED5

Accessibility & contrast

On white

7.41
#643FAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #643FAA
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643FAA#FFFFFF#000000##FFFFFF
##643FAA1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AD
Deuteranopia (green-blind)
#0054A8
Tritanopia (blue-blind)
#52576E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #643faa;
/* rgb */ color: rgb(100, 63, 170);
/* oklch */ color: oklch(46.8% 0.164 295.3);
Tailwind
colors: {
  custom: {
    50: '#9576c4',
    500: '#643faa',
    950: '#000000',
  },
}
SCSS
$custom: #643faa;
$custom-light: #9576c4;
$custom-dark: #000000;
JSON
{
  "hex": "#643faa",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 170
  },
  "hsl": {
    "h": 260.748,
    "s": 45.923,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46821,
    "c": 0.16361,
    "h": 295.3
  },
  "luminance": 0.09167
}

Semantic roles & 50–950 ramp

primary
#643FAA
secondary
#ACC085
accent
#D652A8
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #643FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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