#B745D8#B745D8

#B745D8 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.7% C 0.227 H 317.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#B745D8
RGBrgb(183, 69, 216)
HSLhsl(287, 65%, 56%)
HSVhsv(287, 68%, 85%)
CMYKcmyk(15.3%, 68.1%, 0%, 15.3%)
CIE-LABlab(51.02, 66.24, -54.47)
CIE-LCHlch(51.02, 85.76, 320.57°)
OKLaboklab(60.67% 0.1679 -0.1528)
OKLCHoklch(60.67% 0.227 317.7)
XYZxyz(34.0495, 19.2828, 66.8808)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B745D8 #66D845
analogous
#6D45D8 #B745D8 #D845AF
triadic
#B745D8 #D8B745 #45D8B7
tetradic
#B745D8 #D86D45 #66D845 #45AFD8
square
#B745D8 #D86D45 #66D845 #45AFD8
split-complementary
#B745D8 #AFD845 #45D86D
monochromatic
#6F1C86 #9827B9 #B745D8 #CB78E3 #DEAAED

Accessibility & contrast

On white

4.32
#B745D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#B745D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B745D8
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B745D8#FFFFFF#000000##000000
##B745D81.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DC
Deuteranopia (green-blind)
#4A7DD5
Tritanopia (blue-blind)
#B66189
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b745d8;
/* rgb */ color: rgb(183, 69, 216);
/* oklch */ color: oklch(60.7% 0.227 317.7);
Tailwind
colors: {
  custom: {
    50: '#d082e5',
    500: '#b745d8',
    950: '#000000',
  },
}
SCSS
$custom: #b745d8;
$custom-light: #d082e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b745d8",
  "rgb": {
    "r": 183,
    "g": 69,
    "b": 216
  },
  "hsl": {
    "h": 286.531,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60667,
    "c": 0.22705,
    "h": 317.7
  },
  "luminance": 0.19281
}

Semantic roles & 50–950 ramp

primary
#B745D8
secondary
#ACDB9E
accent
#E84065
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B745D8

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

Preview Lab → · Contrast checker → · Palette generator →

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