#643AC8#643AC8

#643AC8 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.5% C 0.206 H 290.1°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#643AC8
RGBrgb(100, 58, 200)
HSLhsl(258, 56%, 51%)
HSVhsv(258, 71%, 78%)
CMYKcmyk(50%, 71%, 0%, 21.6%)
CIE-LABlab(37.67, 51.42, -67.36)
CIE-LCHlch(37.67, 84.74, 307.36°)
OKLaboklab(48.54% 0.0707 -0.1933)
OKLCHoklch(48.54% 0.206 290.1)
XYZxyz(17.1909, 9.9049, 55.6384)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643AC8 #9EC83A
analogous
#3A57C8 #643AC8 #AB3AC8
triadic
#643AC8 #C8643A #3AC864
tetradic
#643AC8 #C83A57 #9EC83A #3AC8AB
square
#643AC8 #C83A57 #9EC83A #3AC8AB
split-complementary
#643AC8 #C8AB3A #57C83A
monochromatic
#341E6A #4C2B9A #643AC8 #8A6AD5 #AF9AE3

Accessibility & contrast

On white

7.04
#643AC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#643AC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643AC8
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643AC8#FFFFFF#000000##FFFFFF
##643AC81.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCC
Deuteranopia (green-blind)
#0055C5
Tritanopia (blue-blind)
#415F7D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #643ac8;
/* rgb */ color: rgb(100, 58, 200);
/* oklch */ color: oklch(48.5% 0.206 290.1);
Tailwind
colors: {
  custom: {
    50: '#9974da',
    500: '#643ac8',
    950: '#000000',
  },
}
SCSS
$custom: #643ac8;
$custom-light: #9974da;
$custom-dark: #000000;
JSON
{
  "hex": "#643ac8",
  "rgb": {
    "r": 100,
    "g": 58,
    "b": 200
  },
  "hsl": {
    "h": 257.746,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.48538,
    "c": 0.20587,
    "h": 290.1
  },
  "luminance": 0.09906
}

Semantic roles & 50–950 ramp

primary
#643AC8
secondary
#BCCE8F
accent
#E048B3
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #643AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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