#643AA8#643AA8

#643AA8 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 45.9% C 0.168 H 296.8°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#643AA8
RGBrgb(100, 58, 168)
HSLhsl(263, 49%, 44%)
HSVhsv(263, 65%, 66%)
CMYKcmyk(40.5%, 65.5%, 0%, 34.1%)
CIE-LABlab(35.13, 42.64, -52.61)
CIE-LCHlch(35.13, 67.72, 309.02°)
OKLaboklab(45.92% 0.0757 -0.15)
OKLCHoklch(45.92% 0.168 296.8)
XYZxyz(13.8346, 8.5623, 37.9620)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643AA8 #7EA83A
analogous
#3A47A8 #643AA8 #9B3AA8
triadic
#643AA8 #A8643A #3AA864
tetradic
#643AA8 #A83A47 #7EA83A #3AA89B
square
#643AA8 #A83A47 #7EA83A #3AA89B
split-complementary
#643AA8 #A89B3A #47A83A
monochromatic
#2E1B4D #492A7B #643AA8 #8359C6 #A587D6

Accessibility & contrast

On white

7.74
#643AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#643AA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643AA8
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643AA8#FFFFFF#000000##FFFFFF
##643AA81.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AB
Deuteranopia (green-blind)
#0051A6
Tritanopia (blue-blind)
#53536C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #643aa8;
/* rgb */ color: rgb(100, 58, 168);
/* oklch */ color: oklch(45.9% 0.168 296.8);
Tailwind
colors: {
  custom: {
    50: '#9573c3',
    500: '#643aa8',
    950: '#000000',
  },
}
SCSS
$custom: #643aa8;
$custom-light: #9573c3;
$custom-dark: #000000;
JSON
{
  "hex": "#643aa8",
  "rgb": {
    "r": 100,
    "g": 58,
    "b": 168
  },
  "hsl": {
    "h": 262.909,
    "s": 48.673,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45924,
    "c": 0.16806,
    "h": 296.8
  },
  "luminance": 0.08563
}

Semantic roles & 50–950 ramp

primary
#643AA8
secondary
#A7C07E
accent
#D850A4
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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