#643CA7#643CA7

#643CA7 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.1% C 0.164 H 296.6°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#643CA7
RGBrgb(100, 60, 167)
HSLhsl(262, 47%, 45%)
HSVhsv(262, 64%, 65%)
CMYKcmyk(40.1%, 64.1%, 0%, 34.5%)
CIE-LABlab(35.46, 41.26, -51.48)
CIE-LCHlch(35.46, 65.97, 308.72°)
OKLaboklab(46.14% 0.0736 -0.1467)
OKLCHoklch(46.14% 0.164 296.6)
XYZxyz(13.8446, 8.7308, 37.5075)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643CA7 #7FA73C
analogous
#3C49A7 #643CA7 #9A3CA7
triadic
#643CA7 #A7643C #3CA764
tetradic
#643CA7 #A73C49 #7FA73C #3CA79A
square
#643CA7 #A73C49 #7FA73C #3CA79A
split-complementary
#643CA7 #A79A3C #49A73C
monochromatic
#2E1C4D #492C7A #643CA7 #835CC4 #A589D5

Accessibility & contrast

On white

7.65
#643CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#643CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643CA7
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643CA7#FFFFFF#000000##FFFFFF
##643CA71.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #643ca7;
/* rgb */ color: rgb(100, 60, 167);
/* oklch */ color: oklch(46.1% 0.164 296.6);
Tailwind
colors: {
  custom: {
    50: '#9574c2',
    500: '#643ca7',
    950: '#000000',
  },
}
SCSS
$custom: #643ca7;
$custom-light: #9574c2;
$custom-dark: #000000;
JSON
{
  "hex": "#643ca7",
  "rgb": {
    "r": 100,
    "g": 60,
    "b": 167
  },
  "hsl": {
    "h": 262.43,
    "s": 47.137,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46142,
    "c": 0.16409,
    "h": 296.6
  },
  "luminance": 0.08731
}

Semantic roles & 50–950 ramp

primary
#643CA7
secondary
#A7BF80
accent
#D751A5
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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