#B745E1#B745E1

#B745E1 is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.2% C 0.235 H 315.4°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#B745E1
RGBrgb(183, 69, 225)
HSLhsl(284, 72%, 58%)
HSVhsv(284, 69%, 88%)
CMYKcmyk(18.7%, 69.3%, 0%, 11.8%)
CIE-LABlab(51.57, 67.98, -58.69)
CIE-LCHlch(51.57, 89.82, 319.19°)
OKLaboklab(61.24% 0.1673 -0.1652)
OKLCHoklch(61.24% 0.235 315.4)
XYZxyz(35.2450, 19.7611, 73.1773)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B745E1 #6FE145
analogous
#6945E1 #B745E1 #E145BD
triadic
#B745E1 #E1B745 #45E1B7
tetradic
#B745E1 #E16945 #6FE145 #45BDE1
square
#B745E1 #E16945 #6FE145 #45BDE1
split-complementary
#B745E1 #BDE145 #45E169
monochromatic
#721894 #9B20C8 #B745E1 #CB7AE9 #E0AEF2

Accessibility & contrast

On white

4.24
#B745E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#B745E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B745E1
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B745E1#FFFFFF#000000##000000
##B745E11.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E5
Deuteranopia (green-blind)
#417EDD
Tritanopia (blue-blind)
#B4658E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b745e1;
/* rgb */ color: rgb(183, 69, 225);
/* oklch */ color: oklch(61.2% 0.235 315.4);
Tailwind
colors: {
  custom: {
    50: '#d182eb',
    500: '#b745e1',
    950: '#000000',
  },
}
SCSS
$custom: #b745e1;
$custom-light: #d182eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b745e1",
  "rgb": {
    "r": 183,
    "g": 69,
    "b": 225
  },
  "hsl": {
    "h": 283.846,
    "s": 72.222,
    "l": 57.647
  },
  "oklch": {
    "l": 0.61236,
    "c": 0.23511,
    "h": 315.4
  },
  "luminance": 0.1976
}

Semantic roles & 50–950 ramp

primary
#B745E1
secondary
#B2E0A2
accent
#EF396A
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B745E1

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

Preview Lab → · Contrast checker → · Palette generator →

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