#B748E1#B748E1

#B748E1 is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.5% C 0.232 H 315.2°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#B748E1
RGBrgb(183, 72, 225)
HSLhsl(284, 72%, 58%)
HSVhsv(284, 68%, 88%)
CMYKcmyk(18.7%, 68%, 0%, 11.8%)
CIE-LABlab(51.99, 66.78, -58.01)
CIE-LCHlch(51.99, 88.45, 319.02°)
OKLaboklab(61.54% 0.1642 -0.1632)
OKLCHoklch(61.54% 0.232 315.2)
XYZxyz(35.4342, 20.1395, 73.2403)
Luminance0.2014 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B748E1 #72E148
analogous
#6A48E1 #B748E1 #E148BF
triadic
#B748E1 #E1B748 #48E1B7
tetradic
#B748E1 #E16A48 #72E148 #48BFE1
square
#B748E1 #E16A48 #72E148 #48BFE1
split-complementary
#B748E1 #BFE148 #48E16A
monochromatic
#741996 #9C21CB #B748E1 #CC7DEA #E0B1F2

Accessibility & contrast

On white

4.18
#B748E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#B748E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B748E1
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B748E1#FFFFFF#000000##000000
##B748E11.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E5
Deuteranopia (green-blind)
#447FDD
Tritanopia (blue-blind)
#B4678F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b748e1;
/* rgb */ color: rgb(183, 72, 225);
/* oklch */ color: oklch(61.5% 0.232 315.2);
Tailwind
colors: {
  custom: {
    50: '#d183eb',
    500: '#b748e1',
    950: '#000000',
  },
}
SCSS
$custom: #b748e1;
$custom-light: #d183eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b748e1",
  "rgb": {
    "r": 183,
    "g": 72,
    "b": 225
  },
  "hsl": {
    "h": 283.529,
    "s": 71.831,
    "l": 58.235
  },
  "oklch": {
    "l": 0.61542,
    "c": 0.23153,
    "h": 315.2
  },
  "luminance": 0.20138
}

Semantic roles & 50–950 ramp

primary
#B748E1
secondary
#B5E1A4
accent
#EF396B
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B748E1

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

Preview Lab → · Contrast checker → · Palette generator →

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