#643AB2#643AB2

#643AB2 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.7% C 0.180 H 294.4°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#643AB2
RGBrgb(100, 58, 178)
HSLhsl(261, 51%, 46%)
HSVhsv(261, 67%, 70%)
CMYKcmyk(43.8%, 67.4%, 0%, 30.2%)
CIE-LABlab(35.89, 45.36, -57.34)
CIE-LCHlch(35.89, 73.11, 308.35°)
OKLaboklab(46.71% 0.0745 -0.1639)
OKLCHoklch(46.71% 0.18 294.4)
XYZxyz(14.8023, 8.9494, 43.0584)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643AB2 #88B23A
analogous
#3A4CB2 #643AB2 #A03AB2
triadic
#643AB2 #B2643A #3AB264
tetradic
#643AB2 #B23A4C #88B23A #3AB2A0
square
#643AB2 #B23A4C #88B23A #3AB2A0
split-complementary
#643AB2 #B2A03A #4CB23A
monochromatic
#301C56 #4A2B84 #643AB2 #845FCB #A88DDA

Accessibility & contrast

On white

7.53
#643AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#643AB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643AB2
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643AB2#FFFFFF#000000##FFFFFF
##643AB21.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#0052B0
Tritanopia (blue-blind)
#4E5771
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #643ab2;
/* rgb */ color: rgb(100, 58, 178);
/* oklch */ color: oklch(46.7% 0.180 294.4);
Tailwind
colors: {
  custom: {
    50: '#9673ca',
    500: '#643ab2',
    950: '#000000',
  },
}
SCSS
$custom: #643ab2;
$custom-light: #9673ca;
$custom-dark: #000000;
JSON
{
  "hex": "#643ab2",
  "rgb": {
    "r": 100,
    "g": 58,
    "b": 178
  },
  "hsl": {
    "h": 261,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.46709,
    "c": 0.18007,
    "h": 294.4
  },
  "luminance": 0.0895
}

Semantic roles & 50–950 ramp

primary
#643AB2
secondary
#AEC483
accent
#DA4DA9
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #643AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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