#643CCC#643CCC

#643CCC is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.1% C 0.208 H 289.1°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#643CCC
RGBrgb(100, 60, 204)
HSLhsl(257, 59%, 52%)
HSVhsv(257, 71%, 80%)
CMYKcmyk(51%, 70.6%, 0%, 20%)
CIE-LABlab(38.38, 51.51, -68.53)
CIE-LCHlch(38.38, 85.73, 306.93°)
OKLaboklab(49.14% 0.0682 -0.1968)
OKLCHoklch(49.14% 0.208 289.1)
XYZxyz(17.7673, 10.2999, 58.1669)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643CCC #A4CC3C
analogous
#3C5CCC #643CCC #AC3CCC
triadic
#643CCC #CC643C #3CCC64
tetradic
#643CCC #CC3C5C #A4CC3C #3CCCAC
square
#643CCC #CC3C5C #A4CC3C #3CCCAC
split-complementary
#643CCC #CCAC3C #5CCC3C
monochromatic
#341D70 #4B2AA1 #643CCC #8B6DD9 #B19DE5

Accessibility & contrast

On white

6.86
#643CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#643CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #643CCC
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643CCC#FFFFFF#000000##FFFFFF
##643CCC1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD0
Deuteranopia (green-blind)
#0057C9
Tritanopia (blue-blind)
#3E6280
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #643ccc;
/* rgb */ color: rgb(100, 60, 204);
/* oklch */ color: oklch(49.1% 0.208 289.1);
Tailwind
colors: {
  custom: {
    50: '#9a75dd',
    500: '#643ccc',
    950: '#000000',
  },
}
SCSS
$custom: #643ccc;
$custom-light: #9a75dd;
$custom-dark: #000000;
JSON
{
  "hex": "#643ccc",
  "rgb": {
    "r": 100,
    "g": 60,
    "b": 204
  },
  "hsl": {
    "h": 256.667,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.49143,
    "c": 0.20827,
    "h": 289.1
  },
  "luminance": 0.10301
}

Semantic roles & 50–950 ramp

primary
#643CCC
secondary
#C0D192
accent
#E246B6
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #643CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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