#643CB8#643CB8

#643CB8 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.5% C 0.185 H 292.8°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#643CB8
RGBrgb(100, 60, 184)
HSLhsl(259, 51%, 48%)
HSVhsv(259, 67%, 72%)
CMYKcmyk(45.7%, 67.4%, 0%, 27.8%)
CIE-LABlab(36.75, 45.94, -59.49)
CIE-LCHlch(36.75, 75.17, 307.68°)
OKLaboklab(47.47% 0.0716 -0.1703)
OKLCHoklch(47.47% 0.185 292.8)
XYZxyz(15.5207, 9.4012, 46.3350)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643CB8 #90B83C
analogous
#3C52B8 #643CB8 #A23CB8
triadic
#643CB8 #B8643C #3CB864
tetradic
#643CB8 #B83C52 #90B83C #3CB8A2
square
#643CB8 #B83C52 #90B83C #3CB8A2
split-complementary
#643CB8 #B8A23C #52B83C
monochromatic
#321E5C #4B2D8A #643CB8 #8665CD #AA93DC

Accessibility & contrast

On white

7.29
#643CB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#643CB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643CB8
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643CB8#FFFFFF#000000##FFFFFF
##643CB81.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BC
Deuteranopia (green-blind)
#0054B5
Tritanopia (blue-blind)
#4B5A75
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #643cb8;
/* rgb */ color: rgb(100, 60, 184);
/* oklch */ color: oklch(47.5% 0.185 292.8);
Tailwind
colors: {
  custom: {
    50: '#9774ce',
    500: '#643cb8',
    950: '#000000',
  },
}
SCSS
$custom: #643cb8;
$custom-light: #9774ce;
$custom-dark: #000000;
JSON
{
  "hex": "#643cb8",
  "rgb": {
    "r": 100,
    "g": 60,
    "b": 184
  },
  "hsl": {
    "h": 259.355,
    "s": 50.82,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47472,
    "c": 0.1847,
    "h": 292.8
  },
  "luminance": 0.09402
}

Semantic roles & 50–950 ramp

primary
#643CB8
secondary
#B3C789
accent
#DA4DAD
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #643CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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