#643C9D#643C9D

#643C9D is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.4% C 0.152 H 299.3°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#643C9D
RGBrgb(100, 60, 157)
HSLhsl(265, 45%, 43%)
HSVhsv(265, 62%, 62%)
CMYKcmyk(36.3%, 61.8%, 0%, 38.4%)
CIE-LABlab(34.75, 38.56, -46.60)
CIE-LCHlch(34.75, 60.49, 309.61°)
OKLaboklab(45.4% 0.0742 -0.1323)
OKLCHoklch(45.4% 0.152 299.3)
XYZxyz(12.9557, 8.3752, 32.8258)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643C9D #759D3C
analogous
#3C459D #643C9D #943C9D
triadic
#643C9D #9D643C #3C9D64
tetradic
#643C9D #9D3C45 #759D3C #3C9D94
square
#643C9D #9D3C45 #759D3C #3C9D94
split-complementary
#643C9D #9D943C #459D3C
monochromatic
#2C1A44 #482B71 #643C9D #8257BF #A384D0

Accessibility & contrast

On white

7.85
#643C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#643C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643C9D
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643C9D#FFFFFF#000000##FFFFFF
##643C9D1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#17519B
Tritanopia (blue-blind)
#575167
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #643c9d;
/* rgb */ color: rgb(100, 60, 157);
/* oklch */ color: oklch(45.4% 0.152 299.3);
Tailwind
colors: {
  custom: {
    50: '#9474bb',
    500: '#643c9d',
    950: '#000000',
  },
}
SCSS
$custom: #643c9d;
$custom-light: #9474bb;
$custom-dark: #000000;
JSON
{
  "hex": "#643c9d",
  "rgb": {
    "r": 100,
    "g": 60,
    "b": 157
  },
  "hsl": {
    "h": 264.742,
    "s": 44.7,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45402,
    "c": 0.15173,
    "h": 299.3
  },
  "luminance": 0.08375
}

Semantic roles & 50–950 ramp

primary
#643C9D
secondary
#A0BA7B
accent
#D4539F
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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