#643EE2#643EE2

#643EE2 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.3% C 0.231 H 285.5°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#643EE2
RGBrgb(100, 62, 226)
HSLhsl(254, 74%, 56%)
HSVhsv(254, 73%, 89%)
CMYKcmyk(55.8%, 72.6%, 0%, 11.4%)
CIE-LABlab(40.65, 56.67, -77.46)
CIE-LCHlch(40.65, 95.97, 306.19°)
OKLaboklab(51.34% 0.0619 -0.223)
OKLCHoklch(51.34% 0.231 285.5)
XYZxyz(20.7015, 11.6444, 73.0935)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643EE2 #BCE23E
analogous
#3E6AE2 #643EE2 #B63EE2
triadic
#643EE2 #E2643E #3EE264
tetradic
#643EE2 #E23E6A #BCE23E #3EE2B6
square
#643EE2 #E23E6A #BCE23E #3EE2B6
split-complementary
#643EE2 #E2B63E #6AE23E
monochromatic
#321690 #441EC5 #643EE2 #8F73EA #B9A8F2

Accessibility & contrast

On white

6.31
#643EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#643EE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #643EE2
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643EE2#FFFFFF#000000##FFFFFF
##643EE21.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E7
Deuteranopia (green-blind)
#005BDF
Tritanopia (blue-blind)
#276B8D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #643ee2;
/* rgb */ color: rgb(100, 62, 226);
/* oklch */ color: oklch(51.3% 0.231 285.5);
Tailwind
colors: {
  custom: {
    50: '#9d77ec',
    500: '#643ee2',
    950: '#000000',
  },
}
SCSS
$custom: #643ee2;
$custom-light: #9d77ec;
$custom-dark: #000000;
JSON
{
  "hex": "#643ee2",
  "rgb": {
    "r": 100,
    "g": 62,
    "b": 226
  },
  "hsl": {
    "h": 253.902,
    "s": 73.874,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51336,
    "c": 0.23141,
    "h": 285.5
  },
  "luminance": 0.11646
}

Semantic roles & 50–950 ramp

primary
#643EE2
secondary
#D0E09C
accent
#F137C6
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #643EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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