#643EA6#643EA6

#643EA6 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.4% C 0.160 H 296.5°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#643EA6
RGBrgb(100, 62, 166)
HSLhsl(262, 46%, 45%)
HSVhsv(262, 63%, 65%)
CMYKcmyk(39.8%, 62.7%, 0%, 34.9%)
CIE-LABlab(35.81, 39.87, -50.32)
CIE-LCHlch(35.81, 64.20, 308.39°)
OKLaboklab(46.37% 0.0713 -0.1433)
OKLCHoklch(46.37% 0.16 296.5)
XYZxyz(13.8593, 8.9075, 37.0581)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643EA6 #80A63E
analogous
#3E4CA6 #643EA6 #983EA6
triadic
#643EA6 #A6643E #3EA664
tetradic
#643EA6 #A63E4C #80A63E #3EA698
square
#643EA6 #A63E4C #80A63E #3EA698
split-complementary
#643EA6 #A6983E #4CA63E
monochromatic
#2E1D4D #492D79 #643EA6 #835EC3 #A58BD4

Accessibility & contrast

On white

7.55
#643EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#643EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643EA6
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643EA6#FFFFFF#000000##FFFFFF
##643EA61.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A9
Deuteranopia (green-blind)
#0453A4
Tritanopia (blue-blind)
#54556C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #643ea6;
/* rgb */ color: rgb(100, 62, 166);
/* oklch */ color: oklch(46.4% 0.160 296.5);
Tailwind
colors: {
  custom: {
    50: '#9575c1',
    500: '#643ea6',
    950: '#000000',
  },
}
SCSS
$custom: #643ea6;
$custom-light: #9575c1;
$custom-dark: #000000;
JSON
{
  "hex": "#643ea6",
  "rgb": {
    "r": 100,
    "g": 62,
    "b": 166
  },
  "hsl": {
    "h": 261.923,
    "s": 45.614,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46369,
    "c": 0.16004,
    "h": 296.5
  },
  "luminance": 0.08908
}

Semantic roles & 50–950 ramp

primary
#643EA6
secondary
#A8BE82
accent
#D553A6
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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