#643FB9#643FB9

#643FB9 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.0% C 0.182 H 292.1°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#643FB9
RGBrgb(100, 63, 185)
HSLhsl(258, 49%, 49%)
HSVhsv(258, 66%, 73%)
CMYKcmyk(45.9%, 65.9%, 0%, 27.5%)
CIE-LABlab(37.42, 44.59, -58.99)
CIE-LCHlch(37.42, 73.94, 307.09°)
OKLaboklab(47.98% 0.0684 -0.1688)
OKLCHoklch(47.98% 0.182 292.1)
XYZxyz(15.7876, 9.7666, 46.9428)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643FB9 #94B93F
analogous
#3F57B9 #643FB9 #A13FB9
triadic
#643FB9 #B9643F #3FB964
tetradic
#643FB9 #B93F57 #94B93F #3FB9A1
square
#643FB9 #B93F57 #94B93F #3FB9A1
split-complementary
#643FB9 #B9A13F #57B93F
monochromatic
#33205E #4B2F8B #643FB9 #8769CC #AC97DC

Accessibility & contrast

On white

7.11
#643FB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#643FB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643FB9
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643FB9#FFFFFF#000000##FFFFFF
##643FB91.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABD
Deuteranopia (green-blind)
#0056B7
Tritanopia (blue-blind)
#4B5C76
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #643fb9;
/* rgb */ color: rgb(100, 63, 185);
/* oklch */ color: oklch(48.0% 0.182 292.1);
Tailwind
colors: {
  custom: {
    50: '#9776cf',
    500: '#643fb9',
    950: '#000000',
  },
}
SCSS
$custom: #643fb9;
$custom-light: #9776cf;
$custom-dark: #000000;
JSON
{
  "hex": "#643fb9",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 185
  },
  "hsl": {
    "h": 258.197,
    "s": 49.194,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47982,
    "c": 0.18209,
    "h": 292.1
  },
  "luminance": 0.09767
}

Semantic roles & 50–950 ramp

primary
#643FB9
secondary
#B5C78D
accent
#D94FAF
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #643FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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