#643F98#643F98

#643F98 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.5% C 0.141 H 300.0°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#643F98
RGBrgb(100, 63, 152)
HSLhsl(265, 41%, 42%)
HSVhsv(265, 59%, 60%)
CMYKcmyk(34.2%, 58.6%, 0%, 40.4%)
CIE-LABlab(35.07, 35.50, -43.07)
CIE-LCHlch(35.07, 55.82, 309.50°)
OKLaboklab(45.52% 0.0705 -0.122)
OKLCHoklch(45.52% 0.141 300)
XYZxyz(12.6992, 8.5312, 30.6773)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643F98 #73983F
analogous
#3F4798 #643F98 #913F98
triadic
#643F98 #98643F #3F9864
tetradic
#643F98 #983F47 #73983F #3F9891
square
#643F98 #983F47 #73983F #3F9891
split-complementary
#643F98 #98913F #47983F
monochromatic
#2B1B41 #482D6D #643F98 #825ABA #A385CC

Accessibility & contrast

On white

7.76
#643F98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#643F98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643F98
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643F98#FFFFFF#000000##FFFFFF
##643F981.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15529B
Deuteranopia (green-blind)
#245296
Tritanopia (blue-blind)
#595165
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #643f98;
/* rgb */ color: rgb(100, 63, 152);
/* oklch */ color: oklch(45.5% 0.141 300.0);
Tailwind
colors: {
  custom: {
    50: '#9375b7',
    500: '#643f98',
    950: '#000000',
  },
}
SCSS
$custom: #643f98;
$custom-light: #9375b7;
$custom-dark: #000000;
JSON
{
  "hex": "#643f98",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 152
  },
  "hsl": {
    "h": 264.944,
    "s": 41.395,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45524,
    "c": 0.14087,
    "h": 300
  },
  "luminance": 0.08531
}

Semantic roles & 50–950 ramp

primary
#643F98
secondary
#9EB77C
accent
#D1579E
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #643F98

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

Preview Lab → · Contrast checker → · Palette generator →

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