#B745E2#B745E2

#B745E2 is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.3% C 0.236 H 315.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#B745E2
RGBrgb(183, 69, 226)
HSLhsl(284, 73%, 58%)
HSVhsv(284, 69%, 89%)
CMYKcmyk(19%, 69.5%, 0%, 11.4%)
CIE-LABlab(51.63, 68.18, -59.16)
CIE-LCHlch(51.63, 90.27, 319.05°)
OKLaboklab(61.3% 0.1672 -0.1666)
OKLCHoklch(61.3% 0.236 315.1)
XYZxyz(35.3818, 19.8158, 73.8978)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B745E2 #70E245
analogous
#6845E2 #B745E2 #E245BE
triadic
#B745E2 #E2B745 #45E2B7
tetradic
#B745E2 #E26845 #70E245 #45BEE2
square
#B745E2 #E26845 #70E245 #45BEE2
split-complementary
#B745E2 #BEE245 #45E268
monochromatic
#731795 #9C20CA #B745E2 #CB7AEA #E0AFF3

Accessibility & contrast

On white

4.23
#B745E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#B745E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B745E2
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B745E2#FFFFFF#000000##000000
##B745E21.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E7
Deuteranopia (green-blind)
#407EDE
Tritanopia (blue-blind)
#B4658F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b745e2;
/* rgb */ color: rgb(183, 69, 226);
/* oklch */ color: oklch(61.3% 0.236 315.1);
Tailwind
colors: {
  custom: {
    50: '#d182ec',
    500: '#b745e2',
    950: '#000000',
  },
}
SCSS
$custom: #b745e2;
$custom-light: #d182ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b745e2",
  "rgb": {
    "r": 183,
    "g": 69,
    "b": 226
  },
  "hsl": {
    "h": 283.567,
    "s": 73.023,
    "l": 57.843
  },
  "oklch": {
    "l": 0.613,
    "c": 0.23601,
    "h": 315.1
  },
  "luminance": 0.19815
}

Semantic roles & 50–950 ramp

primary
#B745E2
secondary
#B3E1A2
accent
#F0386A
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B745E2

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

Preview Lab → · Contrast checker → · Palette generator →

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