#643DE2#643DE2

#643DE2 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.2% C 0.232 H 285.6°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#643DE2
RGBrgb(100, 61, 226)
HSLhsl(254, 74%, 56%)
HSVhsv(254, 73%, 89%)
CMYKcmyk(55.8%, 73%, 0%, 11.4%)
CIE-LABlab(40.47, 57.17, -77.74)
CIE-LCHlch(40.47, 96.50, 306.33°)
OKLaboklab(51.21% 0.0627 -0.2238)
OKLCHoklch(51.21% 0.232 285.6)
XYZxyz(20.6476, 11.5366, 73.0756)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643DE2 #BBE23D
analogous
#3D69E2 #643DE2 #B73DE2
triadic
#643DE2 #E2643D #3DE264
tetradic
#643DE2 #E23D69 #BBE23D #3DE2B7
square
#643DE2 #E23D69 #BBE23D #3DE2B7
split-complementary
#643DE2 #E2B73D #69E23D
monochromatic
#32158F #451DC4 #643DE2 #8F72EA #B9A7F2

Accessibility & contrast

On white

6.35
#643DE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#643DE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #643DE2
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643DE2#FFFFFF#000000##FFFFFF
##643DE21.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E7
Deuteranopia (green-blind)
#005ADF
Tritanopia (blue-blind)
#276B8C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #643de2;
/* rgb */ color: rgb(100, 61, 226);
/* oklch */ color: oklch(51.2% 0.232 285.6);
Tailwind
colors: {
  custom: {
    50: '#9d77ec',
    500: '#643de2',
    950: '#000000',
  },
}
SCSS
$custom: #643de2;
$custom-light: #9d77ec;
$custom-dark: #000000;
JSON
{
  "hex": "#643de2",
  "rgb": {
    "r": 100,
    "g": 61,
    "b": 226
  },
  "hsl": {
    "h": 254.182,
    "s": 73.991,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51213,
    "c": 0.2324,
    "h": 285.6
  },
  "luminance": 0.11538
}

Semantic roles & 50–950 ramp

primary
#643DE2
secondary
#CFDF9B
accent
#F137C5
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #643DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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