#643FA5#643FA5

#643FA5 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.5% C 0.157 H 296.5°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#643FA5
RGBrgb(100, 63, 165)
HSLhsl(262, 45%, 45%)
HSVhsv(262, 62%, 65%)
CMYKcmyk(39.4%, 61.8%, 0%, 35.3%)
CIE-LABlab(35.95, 39.03, -49.49)
CIE-LCHlch(35.95, 63.03, 308.26°)
OKLaboklab(46.45% 0.0702 -0.1408)
OKLCHoklch(46.45% 0.157 296.5)
XYZxyz(13.8228, 8.9807, 36.5952)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643FA5 #80A53F
analogous
#3F4DA5 #643FA5 #973FA5
triadic
#643FA5 #A5643F #3FA564
tetradic
#643FA5 #A53F4D #80A53F #3FA597
square
#643FA5 #A53F4D #80A53F #3FA597
split-complementary
#643FA5 #A5973F #4DA53F
monochromatic
#2E1D4C #492E79 #643FA5 #835FC2 #A58CD3

Accessibility & contrast

On white

7.51
#643FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#643FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643FA5
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643FA5#FFFFFF#000000##FFFFFF
##643FA51.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A8
Deuteranopia (green-blind)
#0C53A3
Tritanopia (blue-blind)
#54556C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #643fa5;
/* rgb */ color: rgb(100, 63, 165);
/* oklch */ color: oklch(46.5% 0.157 296.5);
Tailwind
colors: {
  custom: {
    50: '#9576c0',
    500: '#643fa5',
    950: '#000000',
  },
}
SCSS
$custom: #643fa5;
$custom-light: #9576c0;
$custom-dark: #000000;
JSON
{
  "hex": "#643fa5",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 165
  },
  "hsl": {
    "h": 261.765,
    "s": 44.737,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4645,
    "c": 0.15735,
    "h": 296.5
  },
  "luminance": 0.08981
}

Semantic roles & 50–950 ramp

primary
#643FA5
secondary
#A8BE82
accent
#D453A6
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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