#B645CF#B645CF

#B645CF is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 60.0% C 0.219 H 319.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B645CF
RGBrgb(182, 69, 207)
HSLhsl(289, 59%, 54%)
HSVhsv(289, 67%, 81%)
CMYKcmyk(12.1%, 66.7%, 0%, 18.8%)
CIE-LABlab(50.34, 64.32, -50.41)
CIE-LCHlch(50.34, 81.72, 321.91°)
OKLaboklab(59.99% 0.1671 -0.141)
OKLCHoklch(59.99% 0.219 319.8)
XYZxyz(32.6806, 18.7079, 60.9089)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B645CF #5ECF45
analogous
#7145CF #B645CF #CF45A3
triadic
#B645CF #CFB645 #45CFB6
tetradic
#B645CF #CF7145 #5ECF45 #45A3CF
square
#B645CF #CF7145 #5ECF45 #45A3CF
split-complementary
#B645CF #A3CF45 #45CF71
monochromatic
#6A207A #942CAB #B645CF #C976DC #DCA6E8

Accessibility & contrast

On white

4.43
#B645CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#B645CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B645CF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B645CF#FFFFFF#000000##000000
##B645CF1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1270D3
Deuteranopia (green-blind)
#507CCC
Tritanopia (blue-blind)
#B75E85
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b645cf;
/* rgb */ color: rgb(182, 69, 207);
/* oklch */ color: oklch(60.0% 0.219 319.8);
Tailwind
colors: {
  custom: {
    50: '#cf81de',
    500: '#b645cf',
    950: '#000000',
  },
}
SCSS
$custom: #b645cf;
$custom-light: #cf81de;
$custom-dark: #000000;
JSON
{
  "hex": "#b645cf",
  "rgb": {
    "r": 182,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 289.13,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59985,
    "c": 0.21864,
    "h": 319.8
  },
  "luminance": 0.18706
}

Semantic roles & 50–950 ramp

primary
#B645CF
secondary
#A5D59B
accent
#E24662
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B645CF

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

Preview Lab → · Contrast checker → · Palette generator →

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