#643BCB#643BCB

#643BCB is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 48.9% C 0.208 H 289.4°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#643BCB
RGBrgb(100, 59, 203)
HSLhsl(257, 58%, 51%)
HSVhsv(257, 71%, 80%)
CMYKcmyk(50.7%, 70.9%, 0%, 20.4%)
CIE-LABlab(38.11, 51.75, -68.39)
CIE-LCHlch(38.11, 85.76, 307.11°)
OKLaboklab(48.93% 0.0692 -0.1964)
OKLCHoklch(48.93% 0.208 289.4)
XYZxyz(17.5959, 10.1483, 57.5200)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643BCB #A2CB3B
analogous
#3B5ACB #643BCB #AC3BCB
triadic
#643BCB #CB643B #3BCB64
tetradic
#643BCB #CB3B5A #A2CB3B #3BCBAC
square
#643BCB #CB3B5A #A2CB3B #3BCBAC
split-complementary
#643BCB #CBAC3B #5ACB3B
monochromatic
#341D6E #4B2A9F #643BCB #8A6BD8 #B19CE5

Accessibility & contrast

On white

6.93
#643BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#643BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #643BCB
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643BCB#FFFFFF#000000##FFFFFF
##643BCB1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCF
Deuteranopia (green-blind)
#0056C8
Tritanopia (blue-blind)
#3F617F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #643bcb;
/* rgb */ color: rgb(100, 59, 203);
/* oklch */ color: oklch(48.9% 0.208 289.4);
Tailwind
colors: {
  custom: {
    50: '#9a74dc',
    500: '#643bcb',
    950: '#000000',
  },
}
SCSS
$custom: #643bcb;
$custom-light: #9a74dc;
$custom-dark: #000000;
JSON
{
  "hex": "#643bcb",
  "rgb": {
    "r": 100,
    "g": 59,
    "b": 203
  },
  "hsl": {
    "h": 257.083,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.48926,
    "c": 0.20823,
    "h": 289.4
  },
  "luminance": 0.10149
}

Semantic roles & 50–950 ramp

primary
#643BCB
secondary
#BFD191
accent
#E147B5
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #643BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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