#643FB2#643FB2

#643FB2 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.4% C 0.174 H 293.5°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#643FB2
RGBrgb(100, 63, 178)
HSLhsl(259, 48%, 47%)
HSVhsv(259, 65%, 70%)
CMYKcmyk(43.8%, 64.6%, 0%, 30.2%)
CIE-LABlab(36.89, 42.63, -55.71)
CIE-LCHlch(36.89, 70.15, 307.42°)
OKLaboklab(47.43% 0.0692 -0.1592)
OKLCHoklch(47.43% 0.174 293.5)
XYZxyz(15.0667, 9.4783, 43.1465)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643FB2 #8DB23F
analogous
#3F54B2 #643FB2 #9D3FB2
triadic
#643FB2 #B2643F #3FB264
tetradic
#643FB2 #B23F54 #8DB23F #3FB29D
square
#643FB2 #B23F54 #8DB23F #3FB29D
split-complementary
#643FB2 #B29D3F #54B23F
monochromatic
#311F58 #4B2F85 #643FB2 #8566C9 #A993D9

Accessibility & contrast

On white

7.25
#643FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#643FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643FB2
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643FB2#FFFFFF#000000##FFFFFF
##643FB21.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#4E5A73
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #643fb2;
/* rgb */ color: rgb(100, 63, 178);
/* oklch */ color: oklch(47.4% 0.174 293.5);
Tailwind
colors: {
  custom: {
    50: '#9676ca',
    500: '#643fb2',
    950: '#000000',
  },
}
SCSS
$custom: #643fb2;
$custom-light: #9676ca;
$custom-dark: #000000;
JSON
{
  "hex": "#643fb2",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 178
  },
  "hsl": {
    "h": 259.304,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47432,
    "c": 0.17352,
    "h": 293.5
  },
  "luminance": 0.09479
}

Semantic roles & 50–950 ramp

primary
#643FB2
secondary
#B1C489
accent
#D750AC
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #643FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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