#643DCC#643DCC

#643DCC is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.3% C 0.207 H 289.0°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#643DCC
RGBrgb(100, 61, 204)
HSLhsl(256, 58%, 52%)
HSVhsv(256, 70%, 80%)
CMYKcmyk(51%, 70.1%, 0%, 20%)
CIE-LABlab(38.56, 51.00, -68.23)
CIE-LCHlch(38.56, 85.18, 306.78°)
OKLaboklab(49.28% 0.0673 -0.1959)
OKLCHoklch(49.28% 0.207 289)
XYZxyz(17.8202, 10.4056, 58.1846)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643DCC #A5CC3D
analogous
#3D5ECC #643DCC #AC3DCC
triadic
#643DCC #CC643D #3DCC64
tetradic
#643DCC #CC3D5E #A5CC3D #3DCCAC
square
#643DCC #CC3D5E #A5CC3D #3DCCAC
split-complementary
#643DCC #CCAC3D #5ECC3D
monochromatic
#341E71 #4B2AA1 #643DCC #8B6DD9 #B19EE5

Accessibility & contrast

On white

6.82
#643DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#643DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #643DCC
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643DCC#FFFFFF#000000##FFFFFF
##643DCC1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED0
Deuteranopia (green-blind)
#0057C9
Tritanopia (blue-blind)
#3E6280
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #643dcc;
/* rgb */ color: rgb(100, 61, 204);
/* oklch */ color: oklch(49.3% 0.207 289.0);
Tailwind
colors: {
  custom: {
    50: '#9a76dd',
    500: '#643dcc',
    950: '#000000',
  },
}
SCSS
$custom: #643dcc;
$custom-light: #9a76dd;
$custom-dark: #000000;
JSON
{
  "hex": "#643dcc",
  "rgb": {
    "r": 100,
    "g": 61,
    "b": 204
  },
  "hsl": {
    "h": 256.364,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.49275,
    "c": 0.20714,
    "h": 289
  },
  "luminance": 0.10406
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #643DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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