#643EDB#643EDB

#643EDB is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.7% C 0.223 H 286.5°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#643EDB
RGBrgb(100, 62, 219)
HSLhsl(255, 69%, 55%)
HSVhsv(255, 72%, 86%)
CMYKcmyk(54.3%, 71.7%, 0%, 14.1%)
CIE-LABlab(40.03, 54.70, -74.47)
CIE-LCHlch(40.03, 92.40, 306.30°)
OKLaboklab(50.71% 0.0634 -0.2142)
OKLCHoklch(50.71% 0.223 286.5)
XYZxyz(19.7605, 11.2680, 68.1378)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643EDB #B5DB3E
analogous
#3E67DB #643EDB #B23EDB
triadic
#643EDB #DB643E #3EDB64
tetradic
#643EDB #DB3E67 #B5DB3E #3EDBB2
square
#643EDB #DB3E67 #B5DB3E #3EDBB2
split-complementary
#643EDB #DBB23E #67DB3E
monochromatic
#331986 #4723B9 #643EDB #8D72E5 #B7A5EE

Accessibility & contrast

On white

6.45
#643EDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#643EDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #643EDB
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643EDB#FFFFFF#000000##FFFFFF
##643EDB1.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E0
Deuteranopia (green-blind)
#005AD8
Tritanopia (blue-blind)
#306889
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #643edb;
/* rgb */ color: rgb(100, 62, 219);
/* oklch */ color: oklch(50.7% 0.223 286.5);
Tailwind
colors: {
  custom: {
    50: '#9c77e7',
    500: '#643edb',
    950: '#000000',
  },
}
SCSS
$custom: #643edb;
$custom-light: #9c77e7;
$custom-dark: #000000;
JSON
{
  "hex": "#643edb",
  "rgb": {
    "r": 100,
    "g": 62,
    "b": 219
  },
  "hsl": {
    "h": 254.522,
    "s": 68.559,
    "l": 55.098
  },
  "oklch": {
    "l": 0.50711,
    "c": 0.22342,
    "h": 286.5
  },
  "luminance": 0.11269
}

Semantic roles & 50–950 ramp

primary
#643EDB
secondary
#CBDB99
accent
#EB3CC1
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #643EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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