#643FA0#643FA0

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

Color values

HEX#643FA0
RGBrgb(100, 63, 160)
HSLhsl(263, 43%, 44%)
HSVhsv(263, 61%, 63%)
CMYKcmyk(37.5%, 60.6%, 0%, 37.3%)
CIE-LABlab(35.60, 37.66, -47.05)
CIE-LCHlch(35.60, 60.26, 308.68°)
OKLaboklab(46.09% 0.0704 -0.1337)
OKLCHoklch(46.09% 0.151 297.8)
XYZxyz(13.3766, 8.8022, 34.2451)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643FA0 #7BA03F
analogous
#3F4AA0 #643FA0 #943FA0
triadic
#643FA0 #A0643F #3FA064
tetradic
#643FA0 #A03F4A #7BA03F #3FA094
square
#643FA0 #A03F4A #7BA03F #3FA094
split-complementary
#643FA0 #A0943F #4AA03F
monochromatic
#2D1C48 #492E74 #643FA0 #825DBF #A489D0

Accessibility & contrast

On white

7.61
#643FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#643FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643FA0
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643FA0#FFFFFF#000000##FFFFFF
##643FA01.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A3
Deuteranopia (green-blind)
#19539E
Tritanopia (blue-blind)
#565469
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #643fa0;
/* rgb */ color: rgb(100, 63, 160);
/* oklch */ color: oklch(46.1% 0.151 297.8);
Tailwind
colors: {
  custom: {
    50: '#9476bd',
    500: '#643fa0',
    950: '#000000',
  },
}
SCSS
$custom: #643fa0;
$custom-light: #9476bd;
$custom-dark: #000000;
JSON
{
  "hex": "#643fa0",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 160
  },
  "hsl": {
    "h": 262.887,
    "s": 43.498,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46086,
    "c": 0.15105,
    "h": 297.8
  },
  "luminance": 0.08802
}

Semantic roles & 50–950 ramp

primary
#643FA0
secondary
#A4BB80
accent
#D355A3
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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