#643FDF#643FDF

#643FDF is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.2% C 0.227 H 285.8°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#643FDF
RGBrgb(100, 63, 223)
HSLhsl(254, 71%, 56%)
HSVhsv(254, 72%, 87%)
CMYKcmyk(55.2%, 71.7%, 0%, 12.5%)
CIE-LABlab(40.56, 55.33, -75.89)
CIE-LCHlch(40.56, 93.91, 306.09°)
OKLaboklab(51.19% 0.0618 -0.2184)
OKLCHoklch(51.19% 0.227 285.8)
XYZxyz(20.3483, 11.5909, 70.9628)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643FDF #BADF3F
analogous
#3F6ADF #643FDF #B43FDF
triadic
#643FDF #DF643F #3FDF64
tetradic
#643FDF #DF3F6A #BADF3F #3FDFB4
square
#643FDF #DF3F6A #BADF3F #3FDFB4
split-complementary
#643FDF #DFB43F #6ADF3F
monochromatic
#32178C #4520C1 #643FDF #8E73E8 #B9A8F0

Accessibility & contrast

On white

6.33
#643FDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#643FDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #643FDF
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643FDF#FFFFFF#000000##FFFFFF
##643FDF1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E4
Deuteranopia (green-blind)
#005BDC
Tritanopia (blue-blind)
#2B6A8B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #643fdf;
/* rgb */ color: rgb(100, 63, 223);
/* oklch */ color: oklch(51.2% 0.227 285.8);
Tailwind
colors: {
  custom: {
    50: '#9c78ea',
    500: '#643fdf',
    950: '#000000',
  },
}
SCSS
$custom: #643fdf;
$custom-light: #9c78ea;
$custom-dark: #000000;
JSON
{
  "hex": "#643fdf",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 223
  },
  "hsl": {
    "h": 253.875,
    "s": 71.429,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51194,
    "c": 0.22696,
    "h": 285.8
  },
  "luminance": 0.11592
}

Semantic roles & 50–950 ramp

primary
#643FDF
secondary
#CFDE9C
accent
#EE3AC4
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #643FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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