#643AB8#643AB8

#643AB8 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.2% C 0.187 H 293.2°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#643AB8
RGBrgb(100, 58, 184)
HSLhsl(260, 52%, 47%)
HSVhsv(260, 68%, 72%)
CMYKcmyk(45.7%, 68.5%, 0%, 27.8%)
CIE-LABlab(36.36, 47.01, -60.12)
CIE-LCHlch(36.36, 76.32, 308.02°)
OKLaboklab(47.2% 0.0736 -0.1721)
OKLCHoklch(47.2% 0.187 293.2)
XYZxyz(15.4179, 9.1957, 46.3007)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643AB8 #8EB83A
analogous
#3A4FB8 #643AB8 #A33AB8
triadic
#643AB8 #B8643A #3AB864
tetradic
#643AB8 #B83A4F #8EB83A #3AB8A3
square
#643AB8 #B83A4F #8EB83A #3AB8A3
split-complementary
#643AB8 #B8A33A #4FB83A
monochromatic
#311D5B #4B2B89 #643AB8 #8662CD #AA90DC

Accessibility & contrast

On white

7.40
#643AB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#643AB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643AB8
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643AB8#FFFFFF#000000##FFFFFF
##643AB81.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BC
Deuteranopia (green-blind)
#0053B5
Tritanopia (blue-blind)
#4B5974
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #643ab8;
/* rgb */ color: rgb(100, 58, 184);
/* oklch */ color: oklch(47.2% 0.187 293.2);
Tailwind
colors: {
  custom: {
    50: '#9773ce',
    500: '#643ab8',
    950: '#000000',
  },
}
SCSS
$custom: #643ab8;
$custom-light: #9773ce;
$custom-dark: #000000;
JSON
{
  "hex": "#643ab8",
  "rgb": {
    "r": 100,
    "g": 58,
    "b": 184
  },
  "hsl": {
    "h": 260,
    "s": 52.066,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47195,
    "c": 0.18718,
    "h": 293.2
  },
  "luminance": 0.09196
}

Semantic roles & 50–950 ramp

primary
#643AB8
secondary
#B2C787
accent
#DC4CAC
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #643AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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