#643CB5#643CB5

#643CB5 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.2% C 0.181 H 293.4°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#643CB5
RGBrgb(100, 60, 181)
HSLhsl(260, 50%, 47%)
HSVhsv(260, 67%, 71%)
CMYKcmyk(44.8%, 66.9%, 0%, 29%)
CIE-LABlab(36.51, 45.11, -58.10)
CIE-LCHlch(36.51, 73.56, 307.83°)
OKLaboklab(47.23% 0.072 -0.1662)
OKLCHoklch(47.23% 0.181 293.4)
XYZxyz(15.2096, 9.2768, 44.6963)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643CB5 #8DB53C
analogous
#3C50B5 #643CB5 #A13CB5
triadic
#643CB5 #B5643C #3CB564
tetradic
#643CB5 #B53C50 #8DB53C #3CB5A1
square
#643CB5 #B53C50 #8DB53C #3CB5A1
split-complementary
#643CB5 #B5A13C #50B53C
monochromatic
#311E59 #4B2D87 #643CB5 #8563CB #A991DB

Accessibility & contrast

On white

7.35
#643CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#643CB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643CB5
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643CB5#FFFFFF#000000##FFFFFF
##643CB51.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B9
Deuteranopia (green-blind)
#0054B3
Tritanopia (blue-blind)
#4D5973
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #643cb5;
/* rgb */ color: rgb(100, 60, 181);
/* oklch */ color: oklch(47.2% 0.181 293.4);
Tailwind
colors: {
  custom: {
    50: '#9774cc',
    500: '#643cb5',
    950: '#000000',
  },
}
SCSS
$custom: #643cb5;
$custom-light: #9774cc;
$custom-dark: #000000;
JSON
{
  "hex": "#643cb5",
  "rgb": {
    "r": 100,
    "g": 60,
    "b": 181
  },
  "hsl": {
    "h": 259.835,
    "s": 50.207,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47231,
    "c": 0.1811,
    "h": 293.4
  },
  "luminance": 0.09277
}

Semantic roles & 50–950 ramp

primary
#643CB5
secondary
#B1C687
accent
#DA4EAC
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #643CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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