#643CC4#643CC4

#643CC4 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.5% C 0.199 H 290.5°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#643CC4
RGBrgb(100, 60, 196)
HSLhsl(258, 54%, 50%)
HSVhsv(258, 69%, 77%)
CMYKcmyk(49%, 69.4%, 0%, 23.1%)
CIE-LABlab(37.71, 49.28, -64.96)
CIE-LCHlch(37.71, 81.54, 307.18°)
OKLaboklab(48.46% 0.0697 -0.1863)
OKLCHoklch(48.46% 0.199 290.5)
XYZxyz(16.8324, 9.9259, 53.2428)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643CC4 #9CC43C
analogous
#3C58C4 #643CC4 #A83CC4
triadic
#643CC4 #C4643C #3CC464
tetradic
#643CC4 #C43C58 #9CC43C #3CC4A8
square
#643CC4 #C43C58 #9CC43C #3CC4A8
split-complementary
#643CC4 #C4A83C #58C43C
monochromatic
#341F67 #4C2D96 #643CC4 #896BD2 #AF9AE0

Accessibility & contrast

On white

7.03
#643CC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#643CC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643CC4
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643CC4#FFFFFF#000000##FFFFFF
##643CC41.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC8
Deuteranopia (green-blind)
#0056C1
Tritanopia (blue-blind)
#445F7B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #643cc4;
/* rgb */ color: rgb(100, 60, 196);
/* oklch */ color: oklch(48.5% 0.199 290.5);
Tailwind
colors: {
  custom: {
    50: '#9975d7',
    500: '#643cc4',
    950: '#000000',
  },
}
SCSS
$custom: #643cc4;
$custom-light: #9975d7;
$custom-dark: #000000;
JSON
{
  "hex": "#643cc4",
  "rgb": {
    "r": 100,
    "g": 60,
    "b": 196
  },
  "hsl": {
    "h": 257.647,
    "s": 53.543,
    "l": 50.196
  },
  "oklch": {
    "l": 0.48462,
    "c": 0.19893,
    "h": 290.5
  },
  "luminance": 0.09927
}

Semantic roles & 50–950 ramp

primary
#643CC4
secondary
#BACC90
accent
#DD4BB2
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #643CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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