#643EB6#643EB6

#643EB6 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.6% C 0.180 H 292.8°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#643EB6
RGBrgb(100, 62, 182)
HSLhsl(259, 49%, 48%)
HSVhsv(259, 66%, 71%)
CMYKcmyk(45.1%, 65.9%, 0%, 28.6%)
CIE-LABlab(36.99, 44.30, -57.92)
CIE-LCHlch(36.99, 72.92, 307.41°)
OKLaboklab(47.6% 0.0698 -0.1656)
OKLCHoklch(47.6% 0.18 292.8)
XYZxyz(15.4193, 9.5315, 45.2742)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643EB6 #90B63E
analogous
#3E54B6 #643EB6 #A03EB6
triadic
#643EB6 #B6643E #3EB664
tetradic
#643EB6 #B63E54 #90B63E #3EB6A0
square
#643EB6 #B63E54 #90B63E #3EB6A0
split-complementary
#643EB6 #B6A03E #54B63E
monochromatic
#321F5B #4B2E88 #643EB6 #8666CB #AA94DB

Accessibility & contrast

On white

7.23
#643EB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #643EB6
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643EB6#FFFFFF#000000##FFFFFF
##643EB61.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BA
Deuteranopia (green-blind)
#0055B4
Tritanopia (blue-blind)
#4C5B74
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #643eb6;
/* rgb */ color: rgb(100, 62, 182);
/* oklch */ color: oklch(47.6% 0.180 292.8);
Tailwind
colors: {
  custom: {
    50: '#9776cd',
    500: '#643eb6',
    950: '#000000',
  },
}
SCSS
$custom: #643eb6;
$custom-light: #9776cd;
$custom-dark: #000000;
JSON
{
  "hex": "#643eb6",
  "rgb": {
    "r": 100,
    "g": 62,
    "b": 182
  },
  "hsl": {
    "h": 259,
    "s": 49.18,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47598,
    "c": 0.17973,
    "h": 292.8
  },
  "luminance": 0.09532
}

Semantic roles & 50–950 ramp

primary
#643EB6
secondary
#B3C68A
accent
#D94FAD
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #643EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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