#643CA6#643CA6

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

Color values

HEX#643CA6
RGBrgb(100, 60, 166)
HSLhsl(263, 47%, 44%)
HSVhsv(263, 64%, 65%)
CMYKcmyk(39.8%, 63.9%, 0%, 34.9%)
CIE-LABlab(35.39, 40.99, -50.99)
CIE-LCHlch(35.39, 65.43, 308.80°)
OKLaboklab(46.07% 0.0736 -0.1453)
OKLCHoklch(46.07% 0.163 296.9)
XYZxyz(13.7526, 8.6940, 37.0225)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643CA6 #7EA63C
analogous
#3C49A6 #643CA6 #993CA6
triadic
#643CA6 #A6643C #3CA664
tetradic
#643CA6 #A63C49 #7EA63C #3CA699
square
#643CA6 #A63C49 #7EA63C #3CA699
split-complementary
#643CA6 #A6993C #49A63C
monochromatic
#2E1C4C #492C79 #643CA6 #835BC4 #A588D4

Accessibility & contrast

On white

7.67
#643CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#643CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643CA6
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643CA6#FFFFFF#000000##FFFFFF
##643CA61.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A9
Deuteranopia (green-blind)
#0052A4
Tritanopia (blue-blind)
#54546B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #643ca6;
/* rgb */ color: rgb(100, 60, 166);
/* oklch */ color: oklch(46.1% 0.163 296.9);
Tailwind
colors: {
  custom: {
    50: '#9574c1',
    500: '#643ca6',
    950: '#000000',
  },
}
SCSS
$custom: #643ca6;
$custom-light: #9574c1;
$custom-dark: #000000;
JSON
{
  "hex": "#643ca6",
  "rgb": {
    "r": 100,
    "g": 60,
    "b": 166
  },
  "hsl": {
    "h": 262.642,
    "s": 46.903,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46066,
    "c": 0.16286,
    "h": 296.9
  },
  "luminance": 0.08694
}

Semantic roles & 50–950 ramp

primary
#643CA6
secondary
#A7BE7F
accent
#D751A4
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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