#643FBB#643FBB

#643FBB is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.1% C 0.185 H 291.7°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#643FBB
RGBrgb(100, 63, 187)
HSLhsl(258, 50%, 49%)
HSVhsv(258, 66%, 73%)
CMYKcmyk(46.5%, 66.3%, 0%, 26.7%)
CIE-LABlab(37.57, 45.15, -59.91)
CIE-LCHlch(37.57, 75.02, 307.00°)
OKLaboklab(48.14% 0.0681 -0.1715)
OKLCHoklch(48.14% 0.185 291.7)
XYZxyz(16.0002, 9.8516, 48.0626)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643FBB #96BB3F
analogous
#3F58BB #643FBB #A23FBB
triadic
#643FBB #BB643F #3FBB64
tetradic
#643FBB #BB3F58 #96BB3F #3FBBA2
square
#643FBB #BB3F58 #96BB3F #3FBBA2
split-complementary
#643FBB #BBA23F #58BB3F
monochromatic
#33205F #4C308D #643FBB #886ACD #AC98DC

Accessibility & contrast

On white

7.07
#643FBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#643FBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643FBB
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643FBB#FFFFFF#000000##FFFFFF
##643FBB1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABF
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#495D77
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #643fbb;
/* rgb */ color: rgb(100, 63, 187);
/* oklch */ color: oklch(48.1% 0.185 291.7);
Tailwind
colors: {
  custom: {
    50: '#9776d0',
    500: '#643fbb',
    950: '#000000',
  },
}
SCSS
$custom: #643fbb;
$custom-light: #9776d0;
$custom-dark: #000000;
JSON
{
  "hex": "#643fbb",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 187
  },
  "hsl": {
    "h": 257.903,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.48142,
    "c": 0.18452,
    "h": 291.7
  },
  "luminance": 0.09852
}

Semantic roles & 50–950 ramp

primary
#643FBB
secondary
#B7C88E
accent
#D94FB0
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #643FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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