#643FBA#643FBA

#643FBA is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.1% C 0.183 H 291.9°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#643FBA
RGBrgb(100, 63, 186)
HSLhsl(258, 49%, 49%)
HSVhsv(258, 66%, 73%)
CMYKcmyk(46.2%, 66.1%, 0%, 27.1%)
CIE-LABlab(37.50, 44.87, -59.45)
CIE-LCHlch(37.50, 74.48, 307.05°)
OKLaboklab(48.06% 0.0682 -0.1701)
OKLCHoklch(48.06% 0.183 291.9)
XYZxyz(15.8935, 9.8090, 47.5008)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643FBA #95BA3F
analogous
#3F58BA #643FBA #A23FBA
triadic
#643FBA #BA643F #3FBA64
tetradic
#643FBA #BA3F58 #95BA3F #3FBAA2
square
#643FBA #BA3F58 #95BA3F #3FBAA2
split-complementary
#643FBA #BAA23F #58BA3F
monochromatic
#33205F #4B308C #643FBA #876ACC #AC97DC

Accessibility & contrast

On white

7.09
#643FBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#643FBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643FBA
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643FBA#FFFFFF#000000##FFFFFF
##643FBA1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#0056B7
Tritanopia (blue-blind)
#4A5D77
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #643fba;
/* rgb */ color: rgb(100, 63, 186);
/* oklch */ color: oklch(48.1% 0.183 291.9);
Tailwind
colors: {
  custom: {
    50: '#9776d0',
    500: '#643fba',
    950: '#000000',
  },
}
SCSS
$custom: #643fba;
$custom-light: #9776d0;
$custom-dark: #000000;
JSON
{
  "hex": "#643fba",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 186
  },
  "hsl": {
    "h": 258.049,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48062,
    "c": 0.18331,
    "h": 291.9
  },
  "luminance": 0.0981
}

Semantic roles & 50–950 ramp

primary
#643FBA
secondary
#B6C88D
accent
#D94FAF
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #643FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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