#643DC5#643DC5

#643DC5 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.7% C 0.199 H 290.2°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#643DC5
RGBrgb(100, 61, 197)
HSLhsl(257, 54%, 51%)
HSVhsv(257, 69%, 77%)
CMYKcmyk(49.2%, 69%, 0%, 22.7%)
CIE-LABlab(37.98, 49.03, -65.10)
CIE-LCHlch(37.98, 81.50, 306.99°)
OKLaboklab(48.68% 0.0686 -0.1867)
OKLCHoklch(48.68% 0.199 290.2)
XYZxyz(16.9994, 10.0773, 53.8619)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643DC5 #9EC53D
analogous
#3D5AC5 #643DC5 #A83DC5
triadic
#643DC5 #C5643D #3DC564
tetradic
#643DC5 #C53D5A #9EC53D #3DC5A8
square
#643DC5 #C53D5A #9EC53D #3DC5A8
split-complementary
#643DC5 #C5A83D #5AC53D
monochromatic
#341F68 #4C2D98 #643DC5 #8A6CD3 #AF9BE1

Accessibility & contrast

On white

6.96
#643DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#643DC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #643DC5
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643DC5#FFFFFF#000000##FFFFFF
##643DC51.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC9
Deuteranopia (green-blind)
#0056C2
Tritanopia (blue-blind)
#43607C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #643dc5;
/* rgb */ color: rgb(100, 61, 197);
/* oklch */ color: oklch(48.7% 0.199 290.2);
Tailwind
colors: {
  custom: {
    50: '#9975d8',
    500: '#643dc5',
    950: '#000000',
  },
}
SCSS
$custom: #643dc5;
$custom-light: #9975d8;
$custom-dark: #000000;
JSON
{
  "hex": "#643dc5",
  "rgb": {
    "r": 100,
    "g": 61,
    "b": 197
  },
  "hsl": {
    "h": 257.206,
    "s": 53.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.48681,
    "c": 0.19893,
    "h": 290.2
  },
  "luminance": 0.10078
}

Semantic roles & 50–950 ramp

primary
#643DC5
secondary
#BCCD91
accent
#DD4AB3
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #643DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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