#643EA7#643EA7

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

Color values

HEX#643EA7
RGBrgb(100, 62, 167)
HSLhsl(262, 46%, 45%)
HSVhsv(262, 63%, 65%)
CMYKcmyk(40.1%, 62.9%, 0%, 34.5%)
CIE-LABlab(35.88, 40.15, -50.80)
CIE-LCHlch(35.88, 64.75, 308.32°)
OKLaboklab(46.44% 0.0712 -0.1447)
OKLCHoklch(46.44% 0.161 296.2)
XYZxyz(13.9514, 8.9443, 37.5431)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643EA7 #81A73E
analogous
#3E4DA7 #643EA7 #993EA7
triadic
#643EA7 #A7643E #3EA764
tetradic
#643EA7 #A73E4D #81A73E #3EA799
square
#643EA7 #A73E4D #81A73E #3EA799
split-complementary
#643EA7 #A7993E #4DA73E
monochromatic
#2F1D4E #492D7A #643EA7 #835FC3 #A68BD4

Accessibility & contrast

On white

7.53
#643EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#643EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643EA7
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643EA7#FFFFFF#000000##FFFFFF
##643EA71.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AA
Deuteranopia (green-blind)
#0153A5
Tritanopia (blue-blind)
#53556C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #643ea7;
/* rgb */ color: rgb(100, 62, 167);
/* oklch */ color: oklch(46.4% 0.161 296.2);
Tailwind
colors: {
  custom: {
    50: '#9575c2',
    500: '#643ea7',
    950: '#000000',
  },
}
SCSS
$custom: #643ea7;
$custom-light: #9575c2;
$custom-dark: #000000;
JSON
{
  "hex": "#643ea7",
  "rgb": {
    "r": 100,
    "g": 62,
    "b": 167
  },
  "hsl": {
    "h": 261.714,
    "s": 45.852,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46443,
    "c": 0.16128,
    "h": 296.2
  },
  "luminance": 0.08945
}

Semantic roles & 50–950 ramp

primary
#643EA7
secondary
#A9BF82
accent
#D652A6
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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