#643EA8#643EA8

#643EA8 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.5% C 0.163 H 296.0°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#643EA8
RGBrgb(100, 62, 168)
HSLhsl(262, 46%, 45%)
HSVhsv(262, 63%, 66%)
CMYKcmyk(40.5%, 63.1%, 0%, 34.1%)
CIE-LABlab(35.95, 40.42, -51.28)
CIE-LCHlch(35.95, 65.30, 308.24°)
OKLaboklab(46.52% 0.0712 -0.1461)
OKLCHoklch(46.52% 0.163 296)
XYZxyz(14.0442, 8.9814, 38.0318)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643EA8 #82A83E
analogous
#3E4DA8 #643EA8 #993EA8
triadic
#643EA8 #A8643E #3EA864
tetradic
#643EA8 #A83E4D #82A83E #3EA899
square
#643EA8 #A83E4D #82A83E #3EA899
split-complementary
#643EA8 #A8993E #4DA83E
monochromatic
#2F1D4F #492E7B #643EA8 #835FC4 #A68CD5

Accessibility & contrast

On white

7.51
#643EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#643EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643EA8
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643EA8#FFFFFF#000000##FFFFFF
##643EA81.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AB
Deuteranopia (green-blind)
#0053A6
Tritanopia (blue-blind)
#53566D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #643ea8;
/* rgb */ color: rgb(100, 62, 168);
/* oklch */ color: oklch(46.5% 0.163 296.0);
Tailwind
colors: {
  custom: {
    50: '#9575c3',
    500: '#643ea8',
    950: '#000000',
  },
}
SCSS
$custom: #643ea8;
$custom-light: #9575c3;
$custom-dark: #000000;
JSON
{
  "hex": "#643ea8",
  "rgb": {
    "r": 100,
    "g": 62,
    "b": 168
  },
  "hsl": {
    "h": 261.509,
    "s": 46.087,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46518,
    "c": 0.16252,
    "h": 296
  },
  "luminance": 0.08982
}

Semantic roles & 50–950 ramp

primary
#643EA8
secondary
#A9BF83
accent
#D652A7
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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