#643FD2#643FD2

#643FD2 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.1% C 0.212 H 287.7°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#643FD2
RGBrgb(100, 63, 210)
HSLhsl(255, 62%, 54%)
HSVhsv(255, 70%, 82%)
CMYKcmyk(52.4%, 70%, 0%, 17.6%)
CIE-LABlab(39.44, 51.65, -70.26)
CIE-LCHlch(39.44, 87.20, 306.32°)
OKLaboklab(50.06% 0.0644 -0.2019)
OKLCHoklch(50.06% 0.212 287.7)
XYZxyz(18.6625, 10.9166, 62.0840)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643FD2 #ADD23F
analogous
#3F63D2 #643FD2 #AD3FD2
triadic
#643FD2 #D2643F #3FD264
tetradic
#643FD2 #D23F63 #ADD23F #3FD2AD
square
#643FD2 #D23F63 #ADD23F #3FD2AD
split-complementary
#643FD2 #D2AD3F #63D23F
monochromatic
#341D7A #4928AC #643FD2 #8C71DE #B4A2E9

Accessibility & contrast

On white

6.60
#643FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#643FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #643FD2
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643FD2#FFFFFF#000000##FFFFFF
##643FD21.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D6
Deuteranopia (green-blind)
#0059CF
Tritanopia (blue-blind)
#396584
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #643fd2;
/* rgb */ color: rgb(100, 63, 210);
/* oklch */ color: oklch(50.1% 0.212 287.7);
Tailwind
colors: {
  custom: {
    50: '#9a77e1',
    500: '#643fd2',
    950: '#000000',
  },
}
SCSS
$custom: #643fd2;
$custom-light: #9a77e1;
$custom-dark: #000000;
JSON
{
  "hex": "#643fd2",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 210
  },
  "hsl": {
    "h": 255.102,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50056,
    "c": 0.21191,
    "h": 287.7
  },
  "luminance": 0.10917
}

Semantic roles & 50–950 ramp

primary
#643FD2
secondary
#C6D697
accent
#E543BC
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #643FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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