#B745D2#B745D2

#B745D2 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.3% C 0.222 H 319.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#B745D2
RGBrgb(183, 69, 210)
HSLhsl(289, 61%, 55%)
HSVhsv(289, 67%, 82%)
CMYKcmyk(12.9%, 67.1%, 0%, 17.6%)
CIE-LABlab(50.66, 65.11, -51.61)
CIE-LCHlch(50.66, 83.08, 321.60°)
OKLaboklab(60.3% 0.1682 -0.1445)
OKLCHoklch(60.3% 0.222 319.3)
XYZxyz(33.2879, 18.9782, 62.8700)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B745D2 #60D245
analogous
#7145D2 #B745D2 #D245A6
triadic
#B745D2 #D2B745 #45D2B7
tetradic
#B745D2 #D27145 #60D245 #45A6D2
square
#B745D2 #D27145 #60D245 #45A6D2
split-complementary
#B745D2 #A6D245 #45D271
monochromatic
#6C1F7E #962AAF #B745D2 #CA76DE #DDA8EA

Accessibility & contrast

On white

4.38
#B745D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#B745D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B745D2
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B745D2#FFFFFF#000000##000000
##B745D21.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0971D6
Deuteranopia (green-blind)
#4F7CCF
Tritanopia (blue-blind)
#B75F86
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b745d2;
/* rgb */ color: rgb(183, 69, 210);
/* oklch */ color: oklch(60.3% 0.222 319.3);
Tailwind
colors: {
  custom: {
    50: '#d081e0',
    500: '#b745d2',
    950: '#000000',
  },
}
SCSS
$custom: #b745d2;
$custom-light: #d081e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b745d2",
  "rgb": {
    "r": 183,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 288.511,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60299,
    "c": 0.22172,
    "h": 319.3
  },
  "luminance": 0.18977
}

Semantic roles & 50–950 ramp

primary
#B745D2
secondary
#A7D79C
accent
#E44462
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B745D2

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

Preview Lab → · Contrast checker → · Palette generator →

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