#643EDC#643EDC

#643EDC is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.8% C 0.225 H 286.4°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#643EDC
RGBrgb(100, 62, 220)
HSLhsl(254, 69%, 55%)
HSVhsv(254, 72%, 86%)
CMYKcmyk(54.5%, 71.8%, 0%, 13.7%)
CIE-LABlab(40.12, 54.98, -74.90)
CIE-LCHlch(40.12, 92.91, 306.28°)
OKLaboklab(50.8% 0.0632 -0.2155)
OKLCHoklch(50.8% 0.225 286.4)
XYZxyz(19.8926, 11.3208, 68.8332)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643EDC #B6DC3E
analogous
#3E67DC #643EDC #B33EDC
triadic
#643EDC #DC643E #3EDC64
tetradic
#643EDC #DC3E67 #B6DC3E #3EDCB3
square
#643EDC #DC3E67 #B6DC3E #3EDCB3
split-complementary
#643EDC #DCB33E #67DC3E
monochromatic
#331987 #4722BB #643EDC #8E72E5 #B7A6EF

Accessibility & contrast

On white

6.43
#643EDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#643EDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #643EDC
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643EDC#FFFFFF#000000##FFFFFF
##643EDC1.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E1
Deuteranopia (green-blind)
#005AD9
Tritanopia (blue-blind)
#2F6989
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #643edc;
/* rgb */ color: rgb(100, 62, 220);
/* oklch */ color: oklch(50.8% 0.225 286.4);
Tailwind
colors: {
  custom: {
    50: '#9c77e8',
    500: '#643edc',
    950: '#000000',
  },
}
SCSS
$custom: #643edc;
$custom-light: #9c77e8;
$custom-dark: #000000;
JSON
{
  "hex": "#643edc",
  "rgb": {
    "r": 100,
    "g": 62,
    "b": 220
  },
  "hsl": {
    "h": 254.43,
    "s": 69.298,
    "l": 55.294
  },
  "oklch": {
    "l": 0.508,
    "c": 0.22457,
    "h": 286.4
  },
  "luminance": 0.11322
}

Semantic roles & 50–950 ramp

primary
#643EDC
secondary
#CCDC9A
accent
#EC3CC2
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #643EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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