#643EB9#643EB9

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

Color values

HEX#643EB9
RGBrgb(100, 62, 185)
HSLhsl(259, 50%, 48%)
HSVhsv(259, 66%, 73%)
CMYKcmyk(45.9%, 66.5%, 0%, 27.5%)
CIE-LABlab(37.22, 45.14, -59.31)
CIE-LCHlch(37.22, 74.53, 307.27°)
OKLaboklab(47.84% 0.0694 -0.1697)
OKLCHoklch(47.84% 0.183 292.2)
XYZxyz(15.7327, 9.6568, 46.9246)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643EB9 #93B93E
analogous
#3E55B9 #643EB9 #A13EB9
triadic
#643EB9 #B9643E #3EB964
tetradic
#643EB9 #B93E55 #93B93E #3EB9A1
square
#643EB9 #B93E55 #93B93E #3EB9A1
split-complementary
#643EB9 #B9A13E #55B93E
monochromatic
#321F5D #4B2F8B #643EB9 #8768CC #AB96DC

Accessibility & contrast

On white

7.16
#643EB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#643EB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643EB9
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643EB9#FFFFFF#000000##FFFFFF
##643EB91.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BD
Deuteranopia (green-blind)
#0055B6
Tritanopia (blue-blind)
#4B5C76
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #643eb9;
/* rgb */ color: rgb(100, 62, 185);
/* oklch */ color: oklch(47.8% 0.183 292.2);
Tailwind
colors: {
  custom: {
    50: '#9776cf',
    500: '#643eb9',
    950: '#000000',
  },
}
SCSS
$custom: #643eb9;
$custom-light: #9776cf;
$custom-dark: #000000;
JSON
{
  "hex": "#643eb9",
  "rgb": {
    "r": 100,
    "g": 62,
    "b": 185
  },
  "hsl": {
    "h": 258.537,
    "s": 49.798,
    "l": 48.431
  },
  "oklch": {
    "l": 0.47837,
    "c": 0.18337,
    "h": 292.2
  },
  "luminance": 0.09657
}

Semantic roles & 50–950 ramp

primary
#643EB9
secondary
#B5C78C
accent
#D94EAE
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #643EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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