#B645CB#B645CB

#B645CB is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 59.7% C 0.215 H 321.0°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#B645CB
RGBrgb(182, 69, 203)
HSLhsl(291, 56%, 53%)
HSVhsv(291, 66%, 80%)
CMYKcmyk(10.3%, 66%, 0%, 20.4%)
CIE-LABlab(50.11, 63.57, -48.48)
CIE-LCHlch(50.11, 79.95, 322.67°)
OKLaboklab(59.75% 0.1672 -0.1353)
OKLCHoklch(59.75% 0.215 321)
XYZxyz(32.1978, 18.5148, 58.3661)
Luminance0.1851 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B645CB #5ACB45
analogous
#7345CB #B645CB #CB459D
triadic
#B645CB #CBB645 #45CBB6
tetradic
#B645CB #CB7345 #5ACB45 #459DCB
square
#B645CB #CB7345 #5ACB45 #459DCB
split-complementary
#B645CB #9DCB45 #45CB73
monochromatic
#682175 #922EA5 #B645CB #C975D8 #DCA5E6

Accessibility & contrast

On white

4.47
#B645CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#B645CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B645CB
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B645CB#FFFFFF#000000##000000
##B645CB1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C6FCF
Deuteranopia (green-blind)
#537BC8
Tritanopia (blue-blind)
#B75C82
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b645cb;
/* rgb */ color: rgb(182, 69, 203);
/* oklch */ color: oklch(59.7% 0.215 321.0);
Tailwind
colors: {
  custom: {
    50: '#cf81db',
    500: '#b645cb',
    950: '#000000',
  },
}
SCSS
$custom: #b645cb;
$custom-light: #cf81db;
$custom-dark: #000000;
JSON
{
  "hex": "#b645cb",
  "rgb": {
    "r": 182,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 290.597,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59746,
    "c": 0.2151,
    "h": 321
  },
  "luminance": 0.18513
}

Semantic roles & 50–950 ramp

primary
#B645CB
secondary
#A2D399
accent
#E04860
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B645CB

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

Preview Lab → · Contrast checker → · Palette generator →

#B645CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva