#643CA3#643CA3

#643CA3 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 45.8% C 0.159 H 297.6°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#643CA3
RGBrgb(100, 60, 163)
HSLhsl(263, 46%, 44%)
HSVhsv(263, 63%, 64%)
CMYKcmyk(38.7%, 63.2%, 0%, 36.1%)
CIE-LABlab(35.17, 40.18, -49.54)
CIE-LCHlch(35.17, 63.78, 309.04°)
OKLaboklab(45.84% 0.0739 -0.141)
OKLCHoklch(45.84% 0.159 297.6)
XYZxyz(13.4806, 8.5852, 35.5901)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643CA3 #7BA33C
analogous
#3C47A3 #643CA3 #973CA3
triadic
#643CA3 #A3643C #3CA364
tetradic
#643CA3 #A33C47 #7BA33C #3CA397
square
#643CA3 #A33C47 #7BA33C #3CA397
split-complementary
#643CA3 #A3973C #47A33C
monochromatic
#2D1B4A #492C76 #643CA3 #825AC2 #A487D3

Accessibility & contrast

On white

7.73
#643CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#643CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643CA3
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643CA3#FFFFFF#000000##FFFFFF
##643CA31.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A6
Deuteranopia (green-blind)
#0752A1
Tritanopia (blue-blind)
#55536A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #643ca3;
/* rgb */ color: rgb(100, 60, 163);
/* oklch */ color: oklch(45.8% 0.159 297.6);
Tailwind
colors: {
  custom: {
    50: '#9574bf',
    500: '#643ca3',
    950: '#000000',
  },
}
SCSS
$custom: #643ca3;
$custom-light: #9574bf;
$custom-dark: #000000;
JSON
{
  "hex": "#643ca3",
  "rgb": {
    "r": 100,
    "g": 60,
    "b": 163
  },
  "hsl": {
    "h": 263.301,
    "s": 46.188,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45842,
    "c": 0.15916,
    "h": 297.6
  },
  "luminance": 0.08585
}

Semantic roles & 50–950 ramp

primary
#643CA3
secondary
#A4BD7E
accent
#D652A3
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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