#643CA0#643CA0

#643CA0 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.6% C 0.155 H 298.4°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#643CA0
RGBrgb(100, 60, 160)
HSLhsl(264, 45%, 43%)
HSVhsv(264, 63%, 63%)
CMYKcmyk(37.5%, 62.5%, 0%, 37.3%)
CIE-LABlab(34.96, 39.37, -48.08)
CIE-LCHlch(34.96, 62.14, 309.31°)
OKLaboklab(45.62% 0.0741 -0.1367)
OKLCHoklch(45.62% 0.155 298.4)
XYZxyz(13.2150, 8.4789, 34.1913)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643CA0 #78A03C
analogous
#3C46A0 #643CA0 #963CA0
triadic
#643CA0 #A0643C #3CA064
tetradic
#643CA0 #A03C46 #78A03C #3CA096
square
#643CA0 #A03C46 #78A03C #3CA096
split-complementary
#643CA0 #A0963C #46A03C
monochromatic
#2C1B47 #482B73 #643CA0 #8259C1 #A485D1

Accessibility & contrast

On white

7.79
#643CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#643CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643CA0
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643CA0#FFFFFF#000000##FFFFFF
##643CA01.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A3
Deuteranopia (green-blind)
#11519E
Tritanopia (blue-blind)
#565268
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #643ca0;
/* rgb */ color: rgb(100, 60, 160);
/* oklch */ color: oklch(45.6% 0.155 298.4);
Tailwind
colors: {
  custom: {
    50: '#9474bd',
    500: '#643ca0',
    950: '#000000',
  },
}
SCSS
$custom: #643ca0;
$custom-light: #9474bd;
$custom-dark: #000000;
JSON
{
  "hex": "#643ca0",
  "rgb": {
    "r": 100,
    "g": 60,
    "b": 160
  },
  "hsl": {
    "h": 264,
    "s": 45.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4562,
    "c": 0.15546,
    "h": 298.4
  },
  "luminance": 0.08479
}

Semantic roles & 50–950 ramp

primary
#643CA0
secondary
#A2BB7C
accent
#D553A1
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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