#643EB7#643EB7

#643EB7 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.7% C 0.181 H 292.6°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#643EB7
RGBrgb(100, 62, 183)
HSLhsl(259, 49%, 48%)
HSVhsv(259, 66%, 72%)
CMYKcmyk(45.4%, 66.1%, 0%, 28.2%)
CIE-LABlab(37.06, 44.58, -58.38)
CIE-LCHlch(37.06, 73.46, 307.36°)
OKLaboklab(47.68% 0.0697 -0.167)
OKLCHoklch(47.68% 0.181 292.6)
XYZxyz(15.5230, 9.5730, 45.8204)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643EB7 #91B73E
analogous
#3E54B7 #643EB7 #A03EB7
triadic
#643EB7 #B7643E #3EB764
tetradic
#643EB7 #B73E54 #91B73E #3EB7A0
square
#643EB7 #B73E54 #91B73E #3EB7A0
split-complementary
#643EB7 #B7A03E #54B73E
monochromatic
#321F5C #4B2F89 #643EB7 #8667CB #AB94DB

Accessibility & contrast

On white

7.21
#643EB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#643EB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643EB7
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643EB7#FFFFFF#000000##FFFFFF
##643EB71.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #643eb7;
/* rgb */ color: rgb(100, 62, 183);
/* oklch */ color: oklch(47.7% 0.181 292.6);
Tailwind
colors: {
  custom: {
    50: '#9776cd',
    500: '#643eb7',
    950: '#000000',
  },
}
SCSS
$custom: #643eb7;
$custom-light: #9776cd;
$custom-dark: #000000;
JSON
{
  "hex": "#643eb7",
  "rgb": {
    "r": 100,
    "g": 62,
    "b": 183
  },
  "hsl": {
    "h": 258.843,
    "s": 49.388,
    "l": 48.039
  },
  "oklch": {
    "l": 0.47677,
    "c": 0.18095,
    "h": 292.6
  },
  "luminance": 0.09573
}

Semantic roles & 50–950 ramp

primary
#643EB7
secondary
#B4C68A
accent
#D94FAE
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #643EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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