#643AD2#643AD2

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

Color values

HEX#643AD2
RGBrgb(100, 58, 210)
HSLhsl(257, 63%, 53%)
HSVhsv(257, 72%, 82%)
CMYKcmyk(52.4%, 72.4%, 0%, 17.6%)
CIE-LABlab(38.53, 54.19, -71.75)
CIE-LCHlch(38.53, 89.92, 307.06°)
OKLaboklab(49.41% 0.0686 -0.2062)
OKLCHoklch(49.41% 0.217 288.4)
XYZxyz(18.3980, 10.3877, 61.9959)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643AD2 #A8D23A
analogous
#3A5CD2 #643AD2 #B03AD2
triadic
#643AD2 #D2643A #3AD264
tetradic
#643AD2 #D23A5C #A8D23A #3AD2B0
square
#643AD2 #D23A5C #A8D23A #3AD2B0
split-complementary
#643AD2 #D2B03A #5CD23A
monochromatic
#341B77 #4A26A8 #643AD2 #8B6CDD #B29EE9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##643AD2#FFFFFF#000000##FFFFFF
##643AD21.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)
#005ED6
Deuteranopia (green-blind)
#0057CF
Tritanopia (blue-blind)
#396383
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #643ad2;
/* rgb */ color: rgb(100, 58, 210);
/* oklch */ color: oklch(49.4% 0.217 288.4);
Tailwind
colors: {
  custom: {
    50: '#9b74e1',
    500: '#643ad2',
    950: '#000000',
  },
}
SCSS
$custom: #643ad2;
$custom-light: #9b74e1;
$custom-dark: #000000;
JSON
{
  "hex": "#643ad2",
  "rgb": {
    "r": 100,
    "g": 58,
    "b": 210
  },
  "hsl": {
    "h": 256.579,
    "s": 62.81,
    "l": 52.549
  },
  "oklch": {
    "l": 0.4941,
    "c": 0.21734,
    "h": 288.4
  },
  "luminance": 0.10389
}

Semantic roles & 50–950 ramp

primary
#643AD2
secondary
#C3D593
accent
#E642B9
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #643AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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