#643EC8#643EC8

#643EC8 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.1% C 0.201 H 289.5°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#643EC8
RGBrgb(100, 62, 200)
HSLhsl(257, 56%, 51%)
HSVhsv(257, 69%, 78%)
CMYKcmyk(50%, 69%, 0%, 21.6%)
CIE-LABlab(38.42, 49.35, -66.14)
CIE-LCHlch(38.42, 82.52, 306.73°)
OKLaboklab(49.07% 0.0671 -0.1898)
OKLCHoklch(49.07% 0.201 289.5)
XYZxyz(17.4005, 10.3240, 55.7083)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643EC8 #A2C83E
analogous
#3E5DC8 #643EC8 #A93EC8
triadic
#643EC8 #C8643E #3EC864
tetradic
#643EC8 #C83E5D #A2C83E #3EC8A9
square
#643EC8 #C83E5D #A2C83E #3EC8A9
split-complementary
#643EC8 #C8A93E #5DC83E
monochromatic
#341F6D #4B2D9C #643EC8 #8A6ED6 #B19DE3

Accessibility & contrast

On white

6.85
#643EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#643EC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #643EC8
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643EC8#FFFFFF#000000##FFFFFF
##643EC81.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCC
Deuteranopia (green-blind)
#0057C5
Tritanopia (blue-blind)
#41617E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #643ec8;
/* rgb */ color: rgb(100, 62, 200);
/* oklch */ color: oklch(49.1% 0.201 289.5);
Tailwind
colors: {
  custom: {
    50: '#9976da',
    500: '#643ec8',
    950: '#000000',
  },
}
SCSS
$custom: #643ec8;
$custom-light: #9976da;
$custom-dark: #000000;
JSON
{
  "hex": "#643ec8",
  "rgb": {
    "r": 100,
    "g": 62,
    "b": 200
  },
  "hsl": {
    "h": 256.522,
    "s": 55.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.4907,
    "c": 0.2013,
    "h": 289.5
  },
  "luminance": 0.10325
}

Semantic roles & 50–950 ramp

primary
#643EC8
secondary
#BFCF92
accent
#DF49B6
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #643EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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