#643DC8#643DC8

#643DC8 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 48.9% C 0.202 H 289.6°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#643DC8
RGBrgb(100, 61, 200)
HSLhsl(257, 56%, 51%)
HSVhsv(257, 70%, 78%)
CMYKcmyk(50%, 69.5%, 0%, 21.6%)
CIE-LABlab(38.23, 49.87, -66.45)
CIE-LCHlch(38.23, 83.08, 306.89°)
OKLaboklab(48.93% 0.068 -0.1907)
OKLCHoklch(48.93% 0.202 289.6)
XYZxyz(17.3466, 10.2162, 55.6903)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643DC8 #A1C83D
analogous
#3D5BC8 #643DC8 #AA3DC8
triadic
#643DC8 #C8643D #3DC864
tetradic
#643DC8 #C83D5B #A1C83D #3DC8AA
square
#643DC8 #C83D5B #A1C83D #3DC8AA
split-complementary
#643DC8 #C8AA3D #5BC83D
monochromatic
#341F6C #4B2C9C #643DC8 #8A6DD6 #B09CE3

Accessibility & contrast

On white

6.90
#643DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#643DC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #643DC8
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643DC8#FFFFFF#000000##FFFFFF
##643DC81.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCC
Deuteranopia (green-blind)
#0057C5
Tritanopia (blue-blind)
#41617E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #643dc8;
/* rgb */ color: rgb(100, 61, 200);
/* oklch */ color: oklch(48.9% 0.202 289.6);
Tailwind
colors: {
  custom: {
    50: '#9976da',
    500: '#643dc8',
    950: '#000000',
  },
}
SCSS
$custom: #643dc8;
$custom-light: #9976da;
$custom-dark: #000000;
JSON
{
  "hex": "#643dc8",
  "rgb": {
    "r": 100,
    "g": 61,
    "b": 200
  },
  "hsl": {
    "h": 256.835,
    "s": 55.823,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48934,
    "c": 0.20246,
    "h": 289.6
  },
  "luminance": 0.10217
}

Semantic roles & 50–950 ramp

primary
#643DC8
secondary
#BECF92
accent
#DF49B5
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #643DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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