#B745D9#B745D9

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

Color values

HEX#B745D9
RGBrgb(183, 69, 217)
HSLhsl(286, 66%, 56%)
HSVhsv(286, 68%, 85%)
CMYKcmyk(15.7%, 68.2%, 0%, 14.9%)
CIE-LABlab(51.08, 66.44, -54.94)
CIE-LCHlch(51.08, 86.21, 320.41°)
OKLaboklab(60.73% 0.1679 -0.1542)
OKLCHoklch(60.73% 0.228 317.4)
XYZxyz(34.1791, 19.3347, 67.5638)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B745D9 #67D945
analogous
#6D45D9 #B745D9 #D945B1
triadic
#B745D9 #D9B745 #45D9B7
tetradic
#B745D9 #D96D45 #67D945 #45B1D9
square
#B745D9 #D96D45 #67D945 #45B1D9
split-complementary
#B745D9 #B1D945 #45D96D
monochromatic
#6F1C88 #9926BB #B745D9 #CB78E3 #DEABEE

Accessibility & contrast

On white

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

On black

4.87
#B745D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B745D9
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B745D9#FFFFFF#000000##000000
##B745D91.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DD
Deuteranopia (green-blind)
#497DD6
Tritanopia (blue-blind)
#B6618A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b745d9;
/* rgb */ color: rgb(183, 69, 217);
/* oklch */ color: oklch(60.7% 0.228 317.4);
Tailwind
colors: {
  custom: {
    50: '#d082e5',
    500: '#b745d9',
    950: '#000000',
  },
}
SCSS
$custom: #b745d9;
$custom-light: #d082e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b745d9",
  "rgb": {
    "r": 183,
    "g": 69,
    "b": 217
  },
  "hsl": {
    "h": 286.216,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60729,
    "c": 0.22794,
    "h": 317.4
  },
  "luminance": 0.19333
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B745D9

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

Preview Lab → · Contrast checker → · Palette generator →

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