#643AC2#643AC2

#643AC2 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 48.0% C 0.199 H 291.2°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#643AC2
RGBrgb(100, 58, 194)
HSLhsl(259, 54%, 49%)
HSVhsv(259, 70%, 76%)
CMYKcmyk(48.5%, 70.1%, 0%, 23.9%)
CIE-LABlab(37.17, 49.76, -64.68)
CIE-LCHlch(37.17, 81.60, 307.57°)
OKLaboklab(48.03% 0.0719 -0.1855)
OKLCHoklch(48.03% 0.199 291.2)
XYZxyz(16.5034, 9.6299, 52.0177)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643AC2 #98C23A
analogous
#3A54C2 #643AC2 #A83AC2
triadic
#643AC2 #C2643A #3AC264
tetradic
#643AC2 #C23A54 #98C23A #3AC2A8
square
#643AC2 #C23A54 #98C23A #3AC2A8
split-complementary
#643AC2 #C2A83A #54C23A
monochromatic
#331E64 #4C2C93 #643AC2 #8867D2 #AD97E0

Accessibility & contrast

On white

7.18
#643AC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#643AC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643AC2
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643AC2#FFFFFF#000000##FFFFFF
##643AC21.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC6
Deuteranopia (green-blind)
#0054BF
Tritanopia (blue-blind)
#455D7A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #643ac2;
/* rgb */ color: rgb(100, 58, 194);
/* oklch */ color: oklch(48.0% 0.199 291.2);
Tailwind
colors: {
  custom: {
    50: '#9874d5',
    500: '#643ac2',
    950: '#000000',
  },
}
SCSS
$custom: #643ac2;
$custom-light: #9874d5;
$custom-dark: #000000;
JSON
{
  "hex": "#643ac2",
  "rgb": {
    "r": 100,
    "g": 58,
    "b": 194
  },
  "hsl": {
    "h": 258.529,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.48026,
    "c": 0.19892,
    "h": 291.2
  },
  "luminance": 0.0963
}

Semantic roles & 50–950 ramp

primary
#643AC2
secondary
#B8CB8D
accent
#DD4AB0
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #643AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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