#643BA7#643BA7

#643BA7 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.0% C 0.165 H 296.8°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#643BA7
RGBrgb(100, 59, 167)
HSLhsl(263, 48%, 44%)
HSVhsv(263, 65%, 65%)
CMYKcmyk(40.1%, 64.7%, 0%, 34.5%)
CIE-LABlab(35.26, 41.82, -51.81)
CIE-LCHlch(35.26, 66.58, 308.91°)
OKLaboklab(45.99% 0.0747 -0.1476)
OKLCHoklch(45.99% 0.165 296.8)
XYZxyz(13.7927, 8.6270, 37.4902)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643BA7 #7EA73B
analogous
#3B48A7 #643BA7 #9A3BA7
triadic
#643BA7 #A7643B #3BA764
tetradic
#643BA7 #A73B48 #7EA73B #3BA79A
square
#643BA7 #A73B48 #7EA73B #3BA79A
split-complementary
#643BA7 #A79A3B #48A73B
monochromatic
#2E1B4D #492B7A #643BA7 #835AC5 #A588D5

Accessibility & contrast

On white

7.71
#643BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#643BA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643BA7
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643BA7#FFFFFF#000000##FFFFFF
##643BA71.007.712.737.71
#FFFFFF7.711.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AA
Deuteranopia (green-blind)
#0052A5
Tritanopia (blue-blind)
#53546B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #643ba7;
/* rgb */ color: rgb(100, 59, 167);
/* oklch */ color: oklch(46.0% 0.165 296.8);
Tailwind
colors: {
  custom: {
    50: '#9573c2',
    500: '#643ba7',
    950: '#000000',
  },
}
SCSS
$custom: #643ba7;
$custom-light: #9573c2;
$custom-dark: #000000;
JSON
{
  "hex": "#643ba7",
  "rgb": {
    "r": 100,
    "g": 59,
    "b": 167
  },
  "hsl": {
    "h": 262.778,
    "s": 47.788,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45993,
    "c": 0.16547,
    "h": 296.8
  },
  "luminance": 0.08627
}

Semantic roles & 50–950 ramp

primary
#643BA7
secondary
#A7BF7F
accent
#D750A4
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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