#643FB3#643FB3

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

Color values

HEX#643FB3
RGBrgb(100, 63, 179)
HSLhsl(259, 48%, 47%)
HSVhsv(259, 65%, 70%)
CMYKcmyk(44.1%, 64.8%, 0%, 29.8%)
CIE-LABlab(36.96, 42.91, -56.18)
CIE-LCHlch(36.96, 70.70, 307.37°)
OKLaboklab(47.51% 0.0691 -0.1605)
OKLCHoklch(47.51% 0.175 293.3)
XYZxyz(15.1675, 9.5186, 43.6772)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643FB3 #8EB33F
analogous
#3F54B3 #643FB3 #9E3FB3
triadic
#643FB3 #B3643F #3FB364
tetradic
#643FB3 #B33F54 #8EB33F #3FB39E
square
#643FB3 #B33F54 #8EB33F #3FB39E
split-complementary
#643FB3 #B39E3F #54B33F
monochromatic
#311F58 #4B2F86 #643FB3 #8666C9 #AA93D9

Accessibility & contrast

On white

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

On black

2.90
#643FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##643FB3#FFFFFF#000000##FFFFFF
##643FB31.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#0055B1
Tritanopia (blue-blind)
#4E5A73
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #643fb3;
/* rgb */ color: rgb(100, 63, 179);
/* oklch */ color: oklch(47.5% 0.175 293.3);
Tailwind
colors: {
  custom: {
    50: '#9676cb',
    500: '#643fb3',
    950: '#000000',
  },
}
SCSS
$custom: #643fb3;
$custom-light: #9676cb;
$custom-dark: #000000;
JSON
{
  "hex": "#643fb3",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 179
  },
  "hsl": {
    "h": 259.138,
    "s": 47.934,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47509,
    "c": 0.17475,
    "h": 293.3
  },
  "luminance": 0.09519
}

Semantic roles & 50–950 ramp

primary
#643FB3
secondary
#B2C489
accent
#D850AC
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #643FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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