#643EC3#643EC3

#643EC3 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.7% C 0.195 H 290.4°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#643EC3
RGBrgb(100, 62, 195)
HSLhsl(257, 53%, 50%)
HSVhsv(257, 68%, 76%)
CMYKcmyk(48.7%, 68.2%, 0%, 23.5%)
CIE-LABlab(38.01, 47.94, -63.89)
CIE-LCHlch(38.01, 79.88, 306.88°)
OKLaboklab(48.65% 0.068 -0.1832)
OKLCHoklch(48.65% 0.195 290.4)
XYZxyz(16.8257, 10.0940, 52.6810)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643EC3 #9DC33E
analogous
#3E5AC3 #643EC3 #A63EC3
triadic
#643EC3 #C3643E #3EC364
tetradic
#643EC3 #C33E5A #9DC33E #3EC3A6
square
#643EC3 #C33E5A #9DC33E #3EC3A6
split-complementary
#643EC3 #C3A63E #5AC33E
monochromatic
#342067 #4C2E95 #643EC3 #896DD2 #AF9BE0

Accessibility & contrast

On white

6.96
#643EC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#643EC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #643EC3
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643EC3#FFFFFF#000000##FFFFFF
##643EC31.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC7
Deuteranopia (green-blind)
#0056C0
Tritanopia (blue-blind)
#455F7B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #643ec3;
/* rgb */ color: rgb(100, 62, 195);
/* oklch */ color: oklch(48.7% 0.195 290.4);
Tailwind
colors: {
  custom: {
    50: '#9876d6',
    500: '#643ec3',
    950: '#000000',
  },
}
SCSS
$custom: #643ec3;
$custom-light: #9876d6;
$custom-dark: #000000;
JSON
{
  "hex": "#643ec3",
  "rgb": {
    "r": 100,
    "g": 62,
    "b": 195
  },
  "hsl": {
    "h": 257.143,
    "s": 52.569,
    "l": 50.392
  },
  "oklch": {
    "l": 0.48652,
    "c": 0.19538,
    "h": 290.4
  },
  "luminance": 0.10095
}

Semantic roles & 50–950 ramp

primary
#643EC3
secondary
#BBCC91
accent
#DC4CB3
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0914
muted
#7E7B83

Preview Lab

Preview with #643EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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