#643FB8#643FB8

#643FB8 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 47.9% C 0.181 H 292.3°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#643FB8
RGBrgb(100, 63, 184)
HSLhsl(258, 49%, 48%)
HSVhsv(258, 66%, 72%)
CMYKcmyk(45.7%, 65.8%, 0%, 27.8%)
CIE-LABlab(37.34, 44.31, -58.52)
CIE-LCHlch(37.34, 73.40, 307.13°)
OKLaboklab(47.9% 0.0685 -0.1674)
OKLCHoklch(47.9% 0.181 292.3)
XYZxyz(15.6824, 9.7245, 46.3888)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643FB8 #93B83F
analogous
#3F56B8 #643FB8 #A03FB8
triadic
#643FB8 #B8643F #3FB864
tetradic
#643FB8 #B83F56 #93B83F #3FB8A0
square
#643FB8 #B83F56 #93B83F #3FB8A0
split-complementary
#643FB8 #B8A03F #56B83F
monochromatic
#32205D #4B2F8A #643FB8 #8769CC #AB96DB

Accessibility & contrast

On white

7.13
#643FB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #643FB8
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643FB8#FFFFFF#000000##FFFFFF
##643FB81.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #643fb8;
/* rgb */ color: rgb(100, 63, 184);
/* oklch */ color: oklch(47.9% 0.181 292.3);
Tailwind
colors: {
  custom: {
    50: '#9776ce',
    500: '#643fb8',
    950: '#000000',
  },
}
SCSS
$custom: #643fb8;
$custom-light: #9776ce;
$custom-dark: #000000;
JSON
{
  "hex": "#643fb8",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 184
  },
  "hsl": {
    "h": 258.347,
    "s": 48.988,
    "l": 48.431
  },
  "oklch": {
    "l": 0.47902,
    "c": 0.18087,
    "h": 292.3
  },
  "luminance": 0.09725
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #643FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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