#643FB7#643FB7

#643FB7 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 47.8% C 0.180 H 292.5°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#643FB7
RGBrgb(100, 63, 183)
HSLhsl(259, 49%, 48%)
HSVhsv(259, 66%, 72%)
CMYKcmyk(45.4%, 65.6%, 0%, 28.2%)
CIE-LABlab(37.27, 44.03, -58.06)
CIE-LCHlch(37.27, 72.86, 307.18°)
OKLaboklab(47.82% 0.0686 -0.166)
OKLCHoklch(47.82% 0.18 292.5)
XYZxyz(15.5779, 9.6827, 45.8387)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643FB7 #92B73F
analogous
#3F56B7 #643FB7 #A03FB7
triadic
#643FB7 #B7643F #3FB764
tetradic
#643FB7 #B73F56 #92B73F #3FB7A0
square
#643FB7 #B73F56 #92B73F #3FB7A0
split-complementary
#643FB7 #B7A03F #56B73F
monochromatic
#32205C #4B2F89 #643FB7 #8768CB #AB96DB

Accessibility & contrast

On white

7.15
#643FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#643FB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643FB7
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643FB7#FFFFFF#000000##FFFFFF
##643FB71.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BB
Deuteranopia (green-blind)
#0055B5
Tritanopia (blue-blind)
#4C5C75
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #643fb7;
/* rgb */ color: rgb(100, 63, 183);
/* oklch */ color: oklch(47.8% 0.180 292.5);
Tailwind
colors: {
  custom: {
    50: '#9776cd',
    500: '#643fb7',
    950: '#000000',
  },
}
SCSS
$custom: #643fb7;
$custom-light: #9776cd;
$custom-dark: #000000;
JSON
{
  "hex": "#643fb7",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 183
  },
  "hsl": {
    "h": 258.5,
    "s": 48.78,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47823,
    "c": 0.17966,
    "h": 292.5
  },
  "luminance": 0.09683
}

Semantic roles & 50–950 ramp

primary
#643FB7
secondary
#B4C68B
accent
#D84FAE
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #643FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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