#643DB8#643DB8

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

Color values

HEX#643DB8
RGBrgb(100, 61, 184)
HSLhsl(259, 50%, 48%)
HSVhsv(259, 67%, 72%)
CMYKcmyk(45.7%, 66.8%, 0%, 27.8%)
CIE-LABlab(36.94, 45.40, -59.17)
CIE-LCHlch(36.94, 74.58, 307.50°)
OKLaboklab(47.61% 0.0706 -0.1693)
OKLCHoklch(47.61% 0.183 292.6)
XYZxyz(15.5736, 9.5070, 46.3526)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643DB8 #91B83D
analogous
#3D54B8 #643DB8 #A13DB8
triadic
#643DB8 #B8643D #3DB864
tetradic
#643DB8 #B83D54 #91B83D #3DB8A1
square
#643DB8 #B83D54 #91B83D #3DB8A1
split-complementary
#643DB8 #B8A13D #54B83D
monochromatic
#321F5C #4B2E8A #643DB8 #8666CC #AB94DB

Accessibility & contrast

On white

7.24
#643DB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #643DB8
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643DB8#FFFFFF#000000##FFFFFF
##643DB81.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #643db8;
/* rgb */ color: rgb(100, 61, 184);
/* oklch */ color: oklch(47.6% 0.183 292.6);
Tailwind
colors: {
  custom: {
    50: '#9775ce',
    500: '#643db8',
    950: '#000000',
  },
}
SCSS
$custom: #643db8;
$custom-light: #9775ce;
$custom-dark: #000000;
JSON
{
  "hex": "#643db8",
  "rgb": {
    "r": 100,
    "g": 61,
    "b": 184
  },
  "hsl": {
    "h": 259.024,
    "s": 50.204,
    "l": 48.039
  },
  "oklch": {
    "l": 0.47614,
    "c": 0.18344,
    "h": 292.6
  },
  "luminance": 0.09508
}

Semantic roles & 50–950 ramp

primary
#643DB8
secondary
#B4C78A
accent
#DA4EAD
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #643DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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