#643CB7#643CB7

#643CB7 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.4% C 0.183 H 293.0°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#643CB7
RGBrgb(100, 60, 183)
HSLhsl(260, 51%, 48%)
HSVhsv(260, 67%, 72%)
CMYKcmyk(45.4%, 67.2%, 0%, 28.2%)
CIE-LABlab(36.67, 45.66, -59.03)
CIE-LCHlch(36.67, 74.63, 307.72°)
OKLaboklab(47.39% 0.0717 -0.1689)
OKLCHoklch(47.39% 0.184 293)
XYZxyz(15.4163, 9.3595, 45.7849)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643CB7 #8FB73C
analogous
#3C52B7 #643CB7 #A13CB7
triadic
#643CB7 #B7643C #3CB764
tetradic
#643CB7 #B73C52 #8FB73C #3CB7A1
square
#643CB7 #B73C52 #8FB73C #3CB7A1
split-complementary
#643CB7 #B7A13C #52B73C
monochromatic
#321E5B #4B2D89 #643CB7 #8664CC #AA92DB

Accessibility & contrast

On white

7.31
#643CB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#643CB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643CB7
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643CB7#FFFFFF#000000##FFFFFF
##643CB71.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BB
Deuteranopia (green-blind)
#0054B4
Tritanopia (blue-blind)
#4C5A74
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #643cb7;
/* rgb */ color: rgb(100, 60, 183);
/* oklch */ color: oklch(47.4% 0.183 293.0);
Tailwind
colors: {
  custom: {
    50: '#9774cd',
    500: '#643cb7',
    950: '#000000',
  },
}
SCSS
$custom: #643cb7;
$custom-light: #9774cd;
$custom-dark: #000000;
JSON
{
  "hex": "#643cb7",
  "rgb": {
    "r": 100,
    "g": 60,
    "b": 183
  },
  "hsl": {
    "h": 259.512,
    "s": 50.617,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47392,
    "c": 0.1835,
    "h": 293
  },
  "luminance": 0.0936
}

Semantic roles & 50–950 ramp

primary
#643CB7
secondary
#B2C688
accent
#DA4EAC
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #643CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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