#643DB2#643DB2

#643DB2 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.1% C 0.176 H 293.9°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#643DB2
RGBrgb(100, 61, 178)
HSLhsl(260, 49%, 47%)
HSVhsv(260, 66%, 70%)
CMYKcmyk(43.8%, 65.7%, 0%, 30.2%)
CIE-LABlab(36.48, 43.73, -56.37)
CIE-LCHlch(36.48, 71.35, 307.80°)
OKLaboklab(47.14% 0.0713 -0.1611)
OKLCHoklch(47.14% 0.176 293.9)
XYZxyz(14.9580, 9.2608, 43.1102)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643DB2 #8BB23D
analogous
#3D51B2 #643DB2 #9F3DB2
triadic
#643DB2 #B2643D #3DB264
tetradic
#643DB2 #B23D51 #8BB23D #3DB29F
square
#643DB2 #B23D51 #8BB23D #3DB29F
split-complementary
#643DB2 #B29F3D #51B23D
monochromatic
#311E57 #4A2D84 #643DB2 #8563C9 #A990D9

Accessibility & contrast

On white

7.36
#643DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#643DB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643DB2
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643DB2#FFFFFF#000000##FFFFFF
##643DB21.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#4E5972
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #643db2;
/* rgb */ color: rgb(100, 61, 178);
/* oklch */ color: oklch(47.1% 0.176 293.9);
Tailwind
colors: {
  custom: {
    50: '#9675ca',
    500: '#643db2',
    950: '#000000',
  },
}
SCSS
$custom: #643db2;
$custom-light: #9675ca;
$custom-dark: #000000;
JSON
{
  "hex": "#643db2",
  "rgb": {
    "r": 100,
    "g": 61,
    "b": 178
  },
  "hsl": {
    "h": 260,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47137,
    "c": 0.17618,
    "h": 293.9
  },
  "luminance": 0.09261
}

Semantic roles & 50–950 ramp

primary
#643DB2
secondary
#B0C487
accent
#D94FAB
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #643DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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