#643CAB#643CAB

#643CAB is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.4% C 0.169 H 295.7°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#643CAB
RGBrgb(100, 60, 171)
HSLhsl(262, 48%, 45%)
HSVhsv(262, 65%, 67%)
CMYKcmyk(41.5%, 64.9%, 0%, 32.9%)
CIE-LABlab(35.75, 42.36, -53.39)
CIE-LCHlch(35.75, 68.15, 308.43°)
OKLaboklab(46.45% 0.0732 -0.1523)
OKLCHoklch(46.45% 0.169 295.7)
XYZxyz(14.2201, 8.8810, 39.4852)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643CAB #83AB3C
analogous
#3C4BAB #643CAB #9C3CAB
triadic
#643CAB #AB643C #3CAB64
tetradic
#643CAB #AB3C4B #83AB3C #3CAB9C
square
#643CAB #AB3C4B #83AB3C #3CAB9C
split-complementary
#643CAB #AB9C3C #4BAB3C
monochromatic
#2F1C50 #4A2C7E #643CAB #835EC6 #A68BD6

Accessibility & contrast

On white

7.56
#643CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#643CAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643CAB
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643CAB#FFFFFF#000000##FFFFFF
##643CAB1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AE
Deuteranopia (green-blind)
#0052A9
Tritanopia (blue-blind)
#52566E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #643cab;
/* rgb */ color: rgb(100, 60, 171);
/* oklch */ color: oklch(46.4% 0.169 295.7);
Tailwind
colors: {
  custom: {
    50: '#9674c5',
    500: '#643cab',
    950: '#000000',
  },
}
SCSS
$custom: #643cab;
$custom-light: #9674c5;
$custom-dark: #000000;
JSON
{
  "hex": "#643cab",
  "rgb": {
    "r": 100,
    "g": 60,
    "b": 171
  },
  "hsl": {
    "h": 261.622,
    "s": 48.052,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46447,
    "c": 0.16899,
    "h": 295.7
  },
  "luminance": 0.08881
}

Semantic roles & 50–950 ramp

primary
#643CAB
secondary
#AAC182
accent
#D850A7
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #643CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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