#643CA2#643CA2

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

Color values

HEX#643CA2
RGBrgb(100, 60, 162)
HSLhsl(264, 46%, 44%)
HSVhsv(264, 63%, 64%)
CMYKcmyk(38.3%, 63%, 0%, 36.5%)
CIE-LABlab(35.10, 39.91, -49.05)
CIE-LCHlch(35.10, 63.24, 309.13°)
OKLaboklab(45.77% 0.0739 -0.1396)
OKLCHoklch(45.77% 0.158 297.9)
XYZxyz(13.3913, 8.5495, 35.1201)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643CA2 #7AA23C
analogous
#3C47A2 #643CA2 #973CA2
triadic
#643CA2 #A2643C #3CA264
tetradic
#643CA2 #A23C47 #7AA23C #3CA297
square
#643CA2 #A23C47 #7AA23C #3CA297
split-complementary
#643CA2 #A2973C #47A23C
monochromatic
#2D1B49 #482B75 #643CA2 #8259C2 #A486D2

Accessibility & contrast

On white

7.75
#643CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#643CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643CA2
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643CA2#FFFFFF#000000##FFFFFF
##643CA21.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#0B51A0
Tritanopia (blue-blind)
#555269
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #643ca2;
/* rgb */ color: rgb(100, 60, 162);
/* oklch */ color: oklch(45.8% 0.158 297.9);
Tailwind
colors: {
  custom: {
    50: '#9574be',
    500: '#643ca2',
    950: '#000000',
  },
}
SCSS
$custom: #643ca2;
$custom-light: #9574be;
$custom-dark: #000000;
JSON
{
  "hex": "#643ca2",
  "rgb": {
    "r": 100,
    "g": 60,
    "b": 162
  },
  "hsl": {
    "h": 263.529,
    "s": 45.946,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45768,
    "c": 0.15793,
    "h": 297.9
  },
  "luminance": 0.0855
}

Semantic roles & 50–950 ramp

primary
#643CA2
secondary
#A4BC7D
accent
#D652A2
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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