#643EF2#643EF2

#643EF2 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.8% C 0.249 H 283.5°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#643EF2
RGBrgb(100, 62, 242)
HSLhsl(253, 87%, 60%)
HSVhsv(253, 74%, 95%)
CMYKcmyk(58.7%, 74.4%, 0%, 5.1%)
CIE-LABlab(42.10, 61.15, -84.13)
CIE-LCHlch(42.10, 104.01, 306.01°)
OKLaboklab(52.8% 0.0582 -0.2425)
OKLCHoklch(52.8% 0.249 283.5)
XYZxyz(23.0002, 12.5639, 85.2003)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643EF2 #CCF23E
analogous
#3E72F2 #643EF2 #BE3EF2
triadic
#643EF2 #F2643E #3EF264
tetradic
#643EF2 #F23E72 #CCF23E #3EF2BE
square
#643EF2 #F23E72 #CCF23E #3EF2BE
split-complementary
#643EF2 #F2BE3E #72F23E
monochromatic
#2D0BAA #3C0FE3 #643EF2 #9277F6 #C0B1FA

Accessibility & contrast

On white

5.98
#643EF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#643EF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #643EF2
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643EF2#FFFFFF#000000##FFFFFF
##643EF21.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069F7
Deuteranopia (green-blind)
#005DEF
Tritanopia (blue-blind)
#007196
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #643ef2;
/* rgb */ color: rgb(100, 62, 242);
/* oklch */ color: oklch(52.8% 0.249 283.5);
Tailwind
colors: {
  custom: {
    50: '#9f78f8',
    500: '#643ef2',
    950: '#000000',
  },
}
SCSS
$custom: #643ef2;
$custom-light: #9f78f8;
$custom-dark: #000000;
JSON
{
  "hex": "#643ef2",
  "rgb": {
    "r": 100,
    "g": 62,
    "b": 242
  },
  "hsl": {
    "h": 252.667,
    "s": 87.379,
    "l": 59.608
  },
  "oklch": {
    "l": 0.528,
    "c": 0.24936,
    "h": 283.5
  },
  "luminance": 0.12565
}

Semantic roles & 50–950 ramp

primary
#643EF2
secondary
#DAE9A3
accent
#FE2AD1
background
#FAF7FF
surface
#F4EDFF
border
#CEC8D7
text
#100917
muted
#7F7B85

Preview Lab

Preview with #643EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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