#643CBA#643CBA

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

Color values

HEX#643CBA
RGBrgb(100, 60, 186)
HSLhsl(259, 51%, 48%)
HSVhsv(259, 68%, 73%)
CMYKcmyk(46.2%, 67.7%, 0%, 27.1%)
CIE-LABlab(36.90, 46.50, -60.42)
CIE-LCHlch(36.90, 76.24, 307.58°)
OKLaboklab(47.63% 0.0713 -0.173)
OKLCHoklch(47.63% 0.187 292.4)
XYZxyz(15.7319, 9.4857, 47.4469)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643CBA #92BA3C
analogous
#3C53BA #643CBA #A33CBA
triadic
#643CBA #BA643C #3CBA64
tetradic
#643CBA #BA3C53 #92BA3C #3CBAA3
square
#643CBA #BA3C53 #92BA3C #3CBAA3
split-complementary
#643CBA #BAA33C #53BA3C
monochromatic
#321E5D #4B2D8C #643CBA #8766CE #AB94DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##643CBA#FFFFFF#000000##FFFFFF
##643CBA1.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)
#0059BE
Deuteranopia (green-blind)
#0054B7
Tritanopia (blue-blind)
#4A5B76
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #643cba;
/* rgb */ color: rgb(100, 60, 186);
/* oklch */ color: oklch(47.6% 0.187 292.4);
Tailwind
colors: {
  custom: {
    50: '#9774d0',
    500: '#643cba',
    950: '#000000',
  },
}
SCSS
$custom: #643cba;
$custom-light: #9774d0;
$custom-dark: #000000;
JSON
{
  "hex": "#643cba",
  "rgb": {
    "r": 100,
    "g": 60,
    "b": 186
  },
  "hsl": {
    "h": 259.048,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47634,
    "c": 0.18709,
    "h": 292.4
  },
  "luminance": 0.09486
}

Semantic roles & 50–950 ramp

primary
#643CBA
secondary
#B4C88A
accent
#DB4DAE
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #643CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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