#643CA8#643CA8

#643CA8 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.2% C 0.165 H 296.4°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#643CA8
RGBrgb(100, 60, 168)
HSLhsl(262, 47%, 45%)
HSVhsv(262, 64%, 66%)
CMYKcmyk(40.5%, 64.3%, 0%, 34.1%)
CIE-LABlab(35.53, 41.54, -51.96)
CIE-LCHlch(35.53, 66.52, 308.64°)
OKLaboklab(46.22% 0.0735 -0.1481)
OKLCHoklch(46.22% 0.165 296.4)
XYZxyz(13.9374, 8.7679, 37.9963)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643CA8 #80A83C
analogous
#3C4AA8 #643CA8 #9A3CA8
triadic
#643CA8 #A8643C #3CA864
tetradic
#643CA8 #A83C4A #80A83C #3CA89A
square
#643CA8 #A83C4A #80A83C #3CA89A
split-complementary
#643CA8 #A89A3C #4AA83C
monochromatic
#2E1C4E #492C7B #643CA8 #835CC5 #A589D5

Accessibility & contrast

On white

7.63
#643CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #643CA8
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643CA8#FFFFFF#000000##FFFFFF
##643CA81.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AB
Deuteranopia (green-blind)
#0052A6
Tritanopia (blue-blind)
#53556C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #643ca8;
/* rgb */ color: rgb(100, 60, 168);
/* oklch */ color: oklch(46.2% 0.165 296.4);
Tailwind
colors: {
  custom: {
    50: '#9574c3',
    500: '#643ca8',
    950: '#000000',
  },
}
SCSS
$custom: #643ca8;
$custom-light: #9574c3;
$custom-dark: #000000;
JSON
{
  "hex": "#643ca8",
  "rgb": {
    "r": 100,
    "g": 60,
    "b": 168
  },
  "hsl": {
    "h": 262.222,
    "s": 47.368,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46217,
    "c": 0.16531,
    "h": 296.4
  },
  "luminance": 0.08768
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #643CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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