#643FCB#643FCB

#643FCB is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.5% C 0.204 H 288.8°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#643FCB
RGBrgb(100, 63, 203)
HSLhsl(256, 57%, 52%)
HSVhsv(256, 69%, 80%)
CMYKcmyk(50.7%, 69%, 0%, 20.4%)
CIE-LABlab(38.86, 49.67, -67.17)
CIE-LCHlch(38.86, 83.53, 306.48°)
OKLaboklab(49.46% 0.0657 -0.1928)
OKLCHoklch(49.46% 0.204 288.8)
XYZxyz(17.8094, 10.5753, 57.5912)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643FCB #A6CB3F
analogous
#3F60CB #643FCB #AA3FCB
triadic
#643FCB #CB643F #3FCB64
tetradic
#643FCB #CB3F60 #A6CB3F #3FCBAA
square
#643FCB #CB3F60 #A6CB3F #3FCBAA
split-complementary
#643FCB #CBAA3F #60CB3F
monochromatic
#341F71 #4B2CA1 #643FCB #8B6FD8 #B29FE5

Accessibility & contrast

On white

6.74
#643FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#643FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #643FCB
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643FCB#FFFFFF#000000##FFFFFF
##643FCB1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECF
Deuteranopia (green-blind)
#0058C8
Tritanopia (blue-blind)
#3F6380
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #643fcb;
/* rgb */ color: rgb(100, 63, 203);
/* oklch */ color: oklch(49.5% 0.204 288.8);
Tailwind
colors: {
  custom: {
    50: '#9977dc',
    500: '#643fcb',
    950: '#000000',
  },
}
SCSS
$custom: #643fcb;
$custom-light: #9977dc;
$custom-dark: #000000;
JSON
{
  "hex": "#643fcb",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 203
  },
  "hsl": {
    "h": 255.857,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.49459,
    "c": 0.20368,
    "h": 288.8
  },
  "luminance": 0.10576
}

Semantic roles & 50–950 ramp

primary
#643FCB
secondary
#C1D194
accent
#E147B8
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #643FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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