#643FA7#643FA7

#643FA7 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.6% C 0.160 H 296.0°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#643FA7
RGBrgb(100, 63, 167)
HSLhsl(261, 45%, 45%)
HSVhsv(261, 62%, 65%)
CMYKcmyk(40.1%, 62.3%, 0%, 34.5%)
CIE-LABlab(36.09, 39.58, -50.46)
CIE-LCHlch(36.09, 64.13, 308.11°)
OKLaboklab(46.6% 0.07 -0.1437)
OKLCHoklch(46.6% 0.16 296)
XYZxyz(14.0063, 9.0541, 37.5614)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643FA7 #82A73F
analogous
#3F4EA7 #643FA7 #983FA7
triadic
#643FA7 #A7643F #3FA764
tetradic
#643FA7 #A73F4E #82A73F #3FA798
square
#643FA7 #A73F4E #82A73F #3FA798
split-complementary
#643FA7 #A7983F #4EA73F
monochromatic
#2F1D4E #492E7B #643FA7 #8360C3 #A68DD4

Accessibility & contrast

On white

7.47
#643FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#643FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643FA7
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643FA7#FFFFFF#000000##FFFFFF
##643FA71.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AA
Deuteranopia (green-blind)
#0553A5
Tritanopia (blue-blind)
#53566D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #643fa7;
/* rgb */ color: rgb(100, 63, 167);
/* oklch */ color: oklch(46.6% 0.160 296.0);
Tailwind
colors: {
  custom: {
    50: '#9576c2',
    500: '#643fa7',
    950: '#000000',
  },
}
SCSS
$custom: #643fa7;
$custom-light: #9576c2;
$custom-dark: #000000;
JSON
{
  "hex": "#643fa7",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 167
  },
  "hsl": {
    "h": 261.346,
    "s": 45.217,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46597,
    "c": 0.15986,
    "h": 296
  },
  "luminance": 0.09054
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #643FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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