#643CAF#643CAF

#643CAF is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.8% C 0.174 H 294.7°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#643CAF
RGBrgb(100, 60, 175)
HSLhsl(261, 49%, 46%)
HSVhsv(261, 66%, 69%)
CMYKcmyk(42.9%, 65.7%, 0%, 31.4%)
CIE-LABlab(36.05, 43.45, -55.29)
CIE-LCHlch(36.05, 70.32, 308.17°)
OKLaboklab(46.76% 0.0728 -0.1579)
OKLCHoklch(46.76% 0.174 294.7)
XYZxyz(14.6072, 9.0358, 41.5236)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643CAF #87AF3C
analogous
#3C4DAF #643CAF #9D3CAF
triadic
#643CAF #AF643C #3CAF64
tetradic
#643CAF #AF3C4D #87AF3C #3CAF9D
square
#643CAF #AF3C4D #87AF3C #3CAF9D
split-complementary
#643CAF #AF9D3C #4DAF3C
monochromatic
#301D54 #4A2C81 #643CAF #8460C8 #A78DD8

Accessibility & contrast

On white

7.48
#643CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#643CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643CAF
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643CAF#FFFFFF#000000##FFFFFF
##643CAF1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#0053AD
Tritanopia (blue-blind)
#505770
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #643caf;
/* rgb */ color: rgb(100, 60, 175);
/* oklch */ color: oklch(46.8% 0.174 294.7);
Tailwind
colors: {
  custom: {
    50: '#9674c8',
    500: '#643caf',
    950: '#000000',
  },
}
SCSS
$custom: #643caf;
$custom-light: #9674c8;
$custom-dark: #000000;
JSON
{
  "hex": "#643caf",
  "rgb": {
    "r": 100,
    "g": 60,
    "b": 175
  },
  "hsl": {
    "h": 260.87,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46757,
    "c": 0.17386,
    "h": 294.7
  },
  "luminance": 0.09036
}

Semantic roles & 50–950 ramp

primary
#643CAF
secondary
#ADC384
accent
#D84FA9
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #643CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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