#643DBE#643DBE

#643DBE is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.1% C 0.191 H 291.4°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#643DBE
RGBrgb(100, 61, 190)
HSLhsl(258, 51%, 49%)
HSVhsv(258, 68%, 75%)
CMYKcmyk(47.4%, 67.9%, 0%, 25.5%)
CIE-LABlab(37.42, 47.08, -61.93)
CIE-LCHlch(37.42, 77.79, 307.24°)
OKLaboklab(48.1% 0.0697 -0.1774)
OKLCHoklch(48.1% 0.191 291.4)
XYZxyz(16.2159, 9.7639, 49.7354)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643DBE #97BE3D
analogous
#3D56BE #643DBE #A53DBE
triadic
#643DBE #BE643D #3DBE64
tetradic
#643DBE #BE3D56 #97BE3D #3DBEA5
square
#643DBE #BE3D56 #97BE3D #3DBEA5
split-complementary
#643DBE #BEA53D #56BE3D
monochromatic
#331F61 #4C2E90 #643DBE #8869CF #AD98DE

Accessibility & contrast

On white

7.11
#643DBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#643DBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643DBE
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643DBE#FFFFFF#000000##FFFFFF
##643DBE1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC2
Deuteranopia (green-blind)
#0055BB
Tritanopia (blue-blind)
#485D78
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #643dbe;
/* rgb */ color: rgb(100, 61, 190);
/* oklch */ color: oklch(48.1% 0.191 291.4);
Tailwind
colors: {
  custom: {
    50: '#9875d3',
    500: '#643dbe',
    950: '#000000',
  },
}
SCSS
$custom: #643dbe;
$custom-light: #9875d3;
$custom-dark: #000000;
JSON
{
  "hex": "#643dbe",
  "rgb": {
    "r": 100,
    "g": 61,
    "b": 190
  },
  "hsl": {
    "h": 258.14,
    "s": 51.394,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48101,
    "c": 0.19063,
    "h": 291.4
  },
  "luminance": 0.09765
}

Semantic roles & 50–950 ramp

primary
#643DBE
secondary
#B7C98D
accent
#DB4DB0
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #643DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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