#643EA2#643EA2

#643EA2 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.1% C 0.155 H 297.5°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#643EA2
RGBrgb(100, 62, 162)
HSLhsl(263, 45%, 44%)
HSVhsv(263, 62%, 64%)
CMYKcmyk(38.3%, 61.7%, 0%, 36.5%)
CIE-LABlab(35.52, 38.78, -48.37)
CIE-LCHlch(35.52, 62.00, 308.72°)
OKLaboklab(46.07% 0.0715 -0.1376)
OKLCHoklch(46.07% 0.155 297.5)
XYZxyz(13.4981, 8.7630, 35.1557)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643EA2 #7CA23E
analogous
#3E4AA2 #643EA2 #963EA2
triadic
#643EA2 #A2643E #3EA264
tetradic
#643EA2 #A23E4A #7CA23E #3EA296
square
#643EA2 #A23E4A #7CA23E #3EA296
split-complementary
#643EA2 #A2963E #4AA23E
monochromatic
#2D1C49 #492D76 #643EA2 #835CC1 #A489D2

Accessibility & contrast

On white

7.63
#643EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#643EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643EA2
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643EA2#FFFFFF#000000##FFFFFF
##643EA21.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#1252A0
Tritanopia (blue-blind)
#55546A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #643ea2;
/* rgb */ color: rgb(100, 62, 162);
/* oklch */ color: oklch(46.1% 0.155 297.5);
Tailwind
colors: {
  custom: {
    50: '#9475be',
    500: '#643ea2',
    950: '#000000',
  },
}
SCSS
$custom: #643ea2;
$custom-light: #9475be;
$custom-dark: #000000;
JSON
{
  "hex": "#643ea2",
  "rgb": {
    "r": 100,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 262.8,
    "s": 44.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46074,
    "c": 0.15504,
    "h": 297.5
  },
  "luminance": 0.08763
}

Semantic roles & 50–950 ramp

primary
#643EA2
secondary
#A5BC80
accent
#D453A3
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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