#643DCD#643DCD

#643DCD is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.4% C 0.208 H 288.8°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#643DCD
RGBrgb(100, 61, 205)
HSLhsl(256, 59%, 52%)
HSVhsv(256, 70%, 80%)
CMYKcmyk(51.2%, 70.2%, 0%, 19.6%)
CIE-LABlab(38.64, 51.28, -68.67)
CIE-LCHlch(38.64, 85.70, 306.75°)
OKLaboklab(49.36% 0.0671 -0.1972)
OKLCHoklch(49.36% 0.208 288.8)
XYZxyz(17.9405, 10.4538, 58.8182)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643DCD #A6CD3D
analogous
#3D5ECD #643DCD #AC3DCD
triadic
#643DCD #CD643D #3DCD64
tetradic
#643DCD #CD3D5E #A6CD3D #3DCDAC
square
#643DCD #CD3D5E #A6CD3D #3DCDAC
split-complementary
#643DCD #CDAC3D #5ECD3D
monochromatic
#341D72 #4B2AA3 #643DCD #8B6EDA #B29EE6

Accessibility & contrast

On white

6.79
#643DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#643DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #643DCD
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643DCD#FFFFFF#000000##FFFFFF
##643DCD1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED1
Deuteranopia (green-blind)
#0057CA
Tritanopia (blue-blind)
#3D6381
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #643dcd;
/* rgb */ color: rgb(100, 61, 205);
/* oklch */ color: oklch(49.4% 0.208 288.8);
Tailwind
colors: {
  custom: {
    50: '#9a76dd',
    500: '#643dcd',
    950: '#000000',
  },
}
SCSS
$custom: #643dcd;
$custom-light: #9a76dd;
$custom-dark: #000000;
JSON
{
  "hex": "#643dcd",
  "rgb": {
    "r": 100,
    "g": 61,
    "b": 205
  },
  "hsl": {
    "h": 256.25,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.4936,
    "c": 0.20831,
    "h": 288.8
  },
  "luminance": 0.10455
}

Semantic roles & 50–950 ramp

primary
#643DCD
secondary
#C1D293
accent
#E246B8
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #643DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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