#643AC4#643AC4

#643AC4 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.2% C 0.201 H 290.8°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#643AC4
RGBrgb(100, 58, 196)
HSLhsl(258, 54%, 50%)
HSVhsv(258, 70%, 77%)
CMYKcmyk(49%, 70.4%, 0%, 23.1%)
CIE-LABlab(37.34, 50.32, -65.57)
CIE-LCHlch(37.34, 82.65, 307.50°)
OKLaboklab(48.2% 0.0715 -0.1881)
OKLCHoklch(48.2% 0.201 290.8)
XYZxyz(16.7296, 9.7203, 53.2086)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643AC4 #9AC43A
analogous
#3A55C4 #643AC4 #A93AC4
triadic
#643AC4 #C4643A #3AC464
tetradic
#643AC4 #C43A55 #9AC43A #3AC4A9
square
#643AC4 #C43A55 #9AC43A #3AC4A9
split-complementary
#643AC4 #C4A93A #55C43A
monochromatic
#341E66 #4C2C95 #643AC4 #8969D3 #AE98E0

Accessibility & contrast

On white

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

On black

2.94
#643AC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##643AC4#FFFFFF#000000##FFFFFF
##643AC41.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC8
Deuteranopia (green-blind)
#0055C1
Tritanopia (blue-blind)
#445E7B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #643ac4;
/* rgb */ color: rgb(100, 58, 196);
/* oklch */ color: oklch(48.2% 0.201 290.8);
Tailwind
colors: {
  custom: {
    50: '#9974d7',
    500: '#643ac4',
    950: '#000000',
  },
}
SCSS
$custom: #643ac4;
$custom-light: #9974d7;
$custom-dark: #000000;
JSON
{
  "hex": "#643ac4",
  "rgb": {
    "r": 100,
    "g": 58,
    "b": 196
  },
  "hsl": {
    "h": 258.261,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.48196,
    "c": 0.20124,
    "h": 290.8
  },
  "luminance": 0.09721
}

Semantic roles & 50–950 ramp

primary
#643AC4
secondary
#B9CC8E
accent
#DE4AB1
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #643AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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