#643ECB#643ECB

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

Color values

HEX#643ECB
RGBrgb(100, 62, 203)
HSLhsl(256, 58%, 52%)
HSVhsv(256, 69%, 80%)
CMYKcmyk(50.7%, 69.5%, 0%, 20.4%)
CIE-LABlab(38.67, 50.19, -67.48)
CIE-LCHlch(38.67, 84.10, 306.64°)
OKLaboklab(49.32% 0.0666 -0.1937)
OKLCHoklch(49.32% 0.205 289)
XYZxyz(17.7545, 10.4656, 57.5729)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643ECB #A5CB3E
analogous
#3E5FCB #643ECB #AA3ECB
triadic
#643ECB #CB643E #3ECB64
tetradic
#643ECB #CB3E5F #A5CB3E #3ECBAA
square
#643ECB #CB3E5F #A5CB3E #3ECBAA
split-complementary
#643ECB #CBAA3E #5FCB3E
monochromatic
#341E70 #4B2BA1 #643ECB #8B6ED8 #B19EE5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##643ECB#FFFFFF#000000##FFFFFF
##643ECB1.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)
#005ECF
Deuteranopia (green-blind)
#0057C8
Tritanopia (blue-blind)
#3F6280
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #643ecb;
/* rgb */ color: rgb(100, 62, 203);
/* oklch */ color: oklch(49.3% 0.205 289.0);
Tailwind
colors: {
  custom: {
    50: '#9976dc',
    500: '#643ecb',
    950: '#000000',
  },
}
SCSS
$custom: #643ecb;
$custom-light: #9976dc;
$custom-dark: #000000;
JSON
{
  "hex": "#643ecb",
  "rgb": {
    "r": 100,
    "g": 62,
    "b": 203
  },
  "hsl": {
    "h": 256.17,
    "s": 57.551,
    "l": 51.961
  },
  "oklch": {
    "l": 0.49323,
    "c": 0.20484,
    "h": 289
  },
  "luminance": 0.10466
}

Semantic roles & 50–950 ramp

primary
#643ECB
secondary
#C1D194
accent
#E147B7
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #643ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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