#643C98#643C98

#643C98 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.0% C 0.145 H 300.7°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#643C98
RGBrgb(100, 60, 152)
HSLhsl(266, 43%, 42%)
HSVhsv(266, 61%, 60%)
CMYKcmyk(34.2%, 60.5%, 0%, 40.4%)
CIE-LABlab(34.41, 37.23, -44.12)
CIE-LCHlch(34.41, 57.73, 310.16°)
OKLaboklab(45.05% 0.0744 -0.1251)
OKLCHoklch(45.05% 0.146 300.7)
XYZxyz(12.5375, 8.2080, 30.6234)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643C98 #70983C
analogous
#3C4298 #643C98 #923C98
triadic
#643C98 #98643C #3C9864
tetradic
#643C98 #983C42 #70983C #3C9892
square
#643C98 #983C42 #70983C #3C9892
split-complementary
#643C98 #98923C #42983C
monochromatic
#2A1940 #472B6C #643C98 #8255BC #A281CD

Accessibility & contrast

On white

7.95
#643C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#643C98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643C98
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643C98#FFFFFF#000000##FFFFFF
##643C981.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09519B
Deuteranopia (green-blind)
#205096
Tritanopia (blue-blind)
#594F64
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #643c98;
/* rgb */ color: rgb(100, 60, 152);
/* oklch */ color: oklch(45.0% 0.145 300.7);
Tailwind
colors: {
  custom: {
    50: '#9474b7',
    500: '#643c98',
    950: '#000000',
  },
}
SCSS
$custom: #643c98;
$custom-light: #9474b7;
$custom-dark: #000000;
JSON
{
  "hex": "#643c98",
  "rgb": {
    "r": 100,
    "g": 60,
    "b": 152
  },
  "hsl": {
    "h": 266.087,
    "s": 43.396,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45045,
    "c": 0.1455,
    "h": 300.7
  },
  "luminance": 0.08208
}

Semantic roles & 50–950 ramp

primary
#643C98
secondary
#9CB779
accent
#D3559C
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #643C98

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

Preview Lab → · Contrast checker → · Palette generator →

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