#643EBB#643EBB

#643EBB is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.0% C 0.186 H 291.8°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#643EBB
RGBrgb(100, 62, 187)
HSLhsl(258, 50%, 49%)
HSVhsv(258, 67%, 73%)
CMYKcmyk(46.5%, 66.8%, 0%, 26.7%)
CIE-LABlab(37.38, 45.70, -60.24)
CIE-LCHlch(37.38, 75.61, 307.19°)
OKLaboklab(48% 0.0691 -0.1724)
OKLCHoklch(48% 0.186 291.8)
XYZxyz(15.9453, 9.7419, 48.0443)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643EBB #95BB3E
analogous
#3E57BB #643EBB #A33EBB
triadic
#643EBB #BB643E #3EBB64
tetradic
#643EBB #BB3E57 #95BB3E #3EBBA3
square
#643EBB #BB3E57 #95BB3E #3EBBA3
split-complementary
#643EBB #BBA33E #57BB3E
monochromatic
#33205F #4B2F8D #643EBB #8769CD #AC97DC

Accessibility & contrast

On white

7.12
#643EBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#643EBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643EBB
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643EBB#FFFFFF#000000##FFFFFF
##643EBB1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #643ebb;
/* rgb */ color: rgb(100, 62, 187);
/* oklch */ color: oklch(48.0% 0.186 291.8);
Tailwind
colors: {
  custom: {
    50: '#9776d0',
    500: '#643ebb',
    950: '#000000',
  },
}
SCSS
$custom: #643ebb;
$custom-light: #9776d0;
$custom-dark: #000000;
JSON
{
  "hex": "#643ebb",
  "rgb": {
    "r": 100,
    "g": 62,
    "b": 187
  },
  "hsl": {
    "h": 258.24,
    "s": 50.201,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47998,
    "c": 0.18578,
    "h": 291.8
  },
  "luminance": 0.09742
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #643EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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