#643CB4#643CB4

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

Color values

HEX#643CB4
RGBrgb(100, 60, 180)
HSLhsl(260, 50%, 47%)
HSVhsv(260, 67%, 71%)
CMYKcmyk(44.4%, 66.7%, 0%, 29.4%)
CIE-LABlab(36.43, 44.83, -57.64)
CIE-LCHlch(36.43, 73.02, 307.88°)
OKLaboklab(47.15% 0.0721 -0.1648)
OKLCHoklch(47.15% 0.18 293.6)
XYZxyz(15.1074, 9.2359, 44.1579)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643CB4 #8CB43C
analogous
#3C50B4 #643CB4 #A03CB4
triadic
#643CB4 #B4643C #3CB464
tetradic
#643CB4 #B43C50 #8CB43C #3CB4A0
square
#643CB4 #B43C50 #8CB43C #3CB4A0
split-complementary
#643CB4 #B4A03C #50B43C
monochromatic
#311D58 #4B2D86 #643CB4 #8562CB #A990DA

Accessibility & contrast

On white

7.38
#643CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#643CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643CB4
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643CB4#FFFFFF#000000##FFFFFF
##643CB41.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #643cb4;
/* rgb */ color: rgb(100, 60, 180);
/* oklch */ color: oklch(47.2% 0.180 293.6);
Tailwind
colors: {
  custom: {
    50: '#9774cb',
    500: '#643cb4',
    950: '#000000',
  },
}
SCSS
$custom: #643cb4;
$custom-light: #9774cb;
$custom-dark: #000000;
JSON
{
  "hex": "#643cb4",
  "rgb": {
    "r": 100,
    "g": 60,
    "b": 180
  },
  "hsl": {
    "h": 260,
    "s": 50,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47151,
    "c": 0.1799,
    "h": 293.6
  },
  "luminance": 0.09236
}

Semantic roles & 50–950 ramp

primary
#643CB4
secondary
#B0C587
accent
#DA4EAB
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #643CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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