#643FA8#643FA8

#643FA8 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.7% C 0.161 H 295.7°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#643FA8
RGBrgb(100, 63, 168)
HSLhsl(261, 45%, 45%)
HSVhsv(261, 63%, 66%)
CMYKcmyk(40.5%, 62.5%, 0%, 34.1%)
CIE-LABlab(36.16, 39.86, -50.94)
CIE-LCHlch(36.16, 64.68, 308.04°)
OKLaboklab(46.67% 0.07 -0.1451)
OKLCHoklch(46.67% 0.161 295.7)
XYZxyz(14.0991, 9.0912, 38.0501)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643FA8 #83A83F
analogous
#3F4EA8 #643FA8 #993FA8
triadic
#643FA8 #A8643F #3FA864
tetradic
#643FA8 #A83F4E #83A83F #3FA899
square
#643FA8 #A83F4E #83A83F #3FA899
split-complementary
#643FA8 #A8993F #4EA83F
monochromatic
#2F1E4F #4A2E7B #643FA8 #8361C4 #A68DD4

Accessibility & contrast

On white

7.45
#643FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#643FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643FA8
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643FA8#FFFFFF#000000##FFFFFF
##643FA81.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AB
Deuteranopia (green-blind)
#0154A6
Tritanopia (blue-blind)
#53566D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #643fa8;
/* rgb */ color: rgb(100, 63, 168);
/* oklch */ color: oklch(46.7% 0.161 295.7);
Tailwind
colors: {
  custom: {
    50: '#9576c3',
    500: '#643fa8',
    950: '#000000',
  },
}
SCSS
$custom: #643fa8;
$custom-light: #9576c3;
$custom-dark: #000000;
JSON
{
  "hex": "#643fa8",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 168
  },
  "hsl": {
    "h": 261.143,
    "s": 45.455,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46671,
    "c": 0.16111,
    "h": 295.7
  },
  "luminance": 0.09091
}

Semantic roles & 50–950 ramp

primary
#643FA8
secondary
#AABF84
accent
#D553A7
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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