#643CDF#643CDF

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

Color values

HEX#643CDF
RGBrgb(100, 60, 223)
HSLhsl(255, 72%, 55%)
HSVhsv(255, 73%, 87%)
CMYKcmyk(55.2%, 73.1%, 0%, 12.5%)
CIE-LABlab(40.03, 56.82, -76.76)
CIE-LCHlch(40.03, 95.50, 306.51°)
OKLaboklab(50.82% 0.0641 -0.2209)
OKLCHoklch(50.82% 0.23 286.2)
XYZxyz(20.1867, 11.2676, 70.9089)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643CDF #B7DF3C
analogous
#3C65DF #643CDF #B53CDF
triadic
#643CDF #DF643C #3CDF64
tetradic
#643CDF #DF3C65 #B7DF3C #3CDFB5
square
#643CDF #DF3C65 #B7DF3C #3CDFB5
split-complementary
#643CDF #DFB53C #65DF3C
monochromatic
#33178A #461FBF #643CDF #8E71E8 #B8A5F0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##643CDF#FFFFFF#000000##FFFFFF
##643CDF1.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)
#0062E4
Deuteranopia (green-blind)
#005ADC
Tritanopia (blue-blind)
#2B698A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #643cdf;
/* rgb */ color: rgb(100, 60, 223);
/* oklch */ color: oklch(50.8% 0.230 286.2);
Tailwind
colors: {
  custom: {
    50: '#9c76ea',
    500: '#643cdf',
    950: '#000000',
  },
}
SCSS
$custom: #643cdf;
$custom-light: #9c76ea;
$custom-dark: #000000;
JSON
{
  "hex": "#643cdf",
  "rgb": {
    "r": 100,
    "g": 60,
    "b": 223
  },
  "hsl": {
    "h": 254.724,
    "s": 71.806,
    "l": 55.49
  },
  "oklch": {
    "l": 0.50819,
    "c": 0.23002,
    "h": 286.2
  },
  "luminance": 0.11269
}

Semantic roles & 50–950 ramp

primary
#643CDF
secondary
#CDDD99
accent
#EF39C2
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #643CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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