#643DB7#643DB7

#643DB7 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.5% C 0.182 H 292.8°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#643DB7
RGBrgb(100, 61, 183)
HSLhsl(259, 50%, 48%)
HSVhsv(259, 67%, 72%)
CMYKcmyk(45.4%, 66.7%, 0%, 28.2%)
CIE-LABlab(36.87, 45.12, -58.71)
CIE-LCHlch(36.87, 74.05, 307.55°)
OKLaboklab(47.53% 0.0707 -0.1679)
OKLCHoklch(47.53% 0.182 292.8)
XYZxyz(15.4692, 9.4652, 45.8025)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643DB7 #90B73D
analogous
#3D53B7 #643DB7 #A13DB7
triadic
#643DB7 #B7643D #3DB764
tetradic
#643DB7 #B73D53 #90B73D #3DB7A1
square
#643DB7 #B73D53 #90B73D #3DB7A1
split-complementary
#643DB7 #B7A13D #53B73D
monochromatic
#321E5B #4B2E89 #643DB7 #8665CC #AA93DB

Accessibility & contrast

On white

7.26
#643DB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#643DB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643DB7
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643DB7#FFFFFF#000000##FFFFFF
##643DB71.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BB
Deuteranopia (green-blind)
#0054B5
Tritanopia (blue-blind)
#4C5A75
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #643db7;
/* rgb */ color: rgb(100, 61, 183);
/* oklch */ color: oklch(47.5% 0.182 292.8);
Tailwind
colors: {
  custom: {
    50: '#9775cd',
    500: '#643db7',
    950: '#000000',
  },
}
SCSS
$custom: #643db7;
$custom-light: #9775cd;
$custom-dark: #000000;
JSON
{
  "hex": "#643db7",
  "rgb": {
    "r": 100,
    "g": 61,
    "b": 183
  },
  "hsl": {
    "h": 259.18,
    "s": 50,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47534,
    "c": 0.18222,
    "h": 292.8
  },
  "luminance": 0.09466
}

Semantic roles & 50–950 ramp

primary
#643DB7
secondary
#B3C689
accent
#DA4EAD
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #643DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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