#643FBC#643FBC

#643FBC is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.2% C 0.186 H 291.5°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#643FBC
RGBrgb(100, 63, 188)
HSLhsl(258, 50%, 49%)
HSVhsv(258, 66%, 74%)
CMYKcmyk(46.8%, 66.5%, 0%, 26.3%)
CIE-LABlab(37.65, 45.43, -60.37)
CIE-LCHlch(37.65, 75.56, 306.96°)
OKLaboklab(48.22% 0.068 -0.1728)
OKLCHoklch(48.22% 0.186 291.5)
XYZxyz(16.1076, 9.8946, 48.6284)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643FBC #97BC3F
analogous
#3F59BC #643FBC #A33FBC
triadic
#643FBC #BC643F #3FBC64
tetradic
#643FBC #BC3F59 #97BC3F #3FBCA3
square
#643FBC #BC3F59 #97BC3F #3FBCA3
split-complementary
#643FBC #BCA33F #59BC3F
monochromatic
#332060 #4C308E #643FBC #886BCD #AD99DD

Accessibility & contrast

On white

7.05
#643FBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#643FBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643FBC
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643FBC#FFFFFF#000000##FFFFFF
##643FBC1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#0056B9
Tritanopia (blue-blind)
#495D78
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #643fbc;
/* rgb */ color: rgb(100, 63, 188);
/* oklch */ color: oklch(48.2% 0.186 291.5);
Tailwind
colors: {
  custom: {
    50: '#9776d1',
    500: '#643fbc',
    950: '#000000',
  },
}
SCSS
$custom: #643fbc;
$custom-light: #9776d1;
$custom-dark: #000000;
JSON
{
  "hex": "#643fbc",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 188
  },
  "hsl": {
    "h": 257.76,
    "s": 49.801,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48222,
    "c": 0.18573,
    "h": 291.5
  },
  "luminance": 0.09895
}

Semantic roles & 50–950 ramp

primary
#643FBC
secondary
#B7C98E
accent
#D94EB0
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #643FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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