#B748E3#B748E3

#B748E3 is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.7% C 0.233 H 314.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#B748E3
RGBrgb(183, 72, 227)
HSLhsl(283, 73%, 59%)
HSVhsv(283, 68%, 89%)
CMYKcmyk(19.4%, 68.3%, 0%, 11%)
CIE-LABlab(52.12, 67.17, -58.94)
CIE-LCHlch(52.12, 89.36, 318.74°)
OKLaboklab(61.67% 0.1641 -0.1659)
OKLCHoklch(61.67% 0.233 314.7)
XYZxyz(35.7086, 20.2493, 74.6856)
Luminance0.2025 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B748E3 #74E348
analogous
#6948E3 #B748E3 #E348C1
triadic
#B748E3 #E3B748 #48E3B7
tetradic
#B748E3 #E36948 #74E348 #48C1E3
square
#B748E3 #E36948 #74E348 #48C1E3
split-complementary
#B748E3 #C1E348 #48E369
monochromatic
#741799 #9D20CE #B748E3 #CC7DEB #E1B2F3

Accessibility & contrast

On white

4.16
#B748E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#B748E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B748E3
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B748E3#FFFFFF#000000##000000
##B748E31.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E8
Deuteranopia (green-blind)
#427FDF
Tritanopia (blue-blind)
#B36790
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b748e3;
/* rgb */ color: rgb(183, 72, 227);
/* oklch */ color: oklch(61.7% 0.233 314.7);
Tailwind
colors: {
  custom: {
    50: '#d183ed',
    500: '#b748e3',
    950: '#000000',
  },
}
SCSS
$custom: #b748e3;
$custom-light: #d183ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b748e3",
  "rgb": {
    "r": 183,
    "g": 72,
    "b": 227
  },
  "hsl": {
    "h": 282.968,
    "s": 73.46,
    "l": 58.627
  },
  "oklch": {
    "l": 0.6167,
    "c": 0.23335,
    "h": 314.7
  },
  "luminance": 0.20248
}

Semantic roles & 50–950 ramp

primary
#B748E3
secondary
#B6E2A5
accent
#F0386C
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B748E3

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

Preview Lab → · Contrast checker → · Palette generator →

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