#B748E2#B748E2

#B748E2 is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.6% C 0.232 H 314.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#B748E2
RGBrgb(183, 72, 226)
HSLhsl(283, 73%, 58%)
HSVhsv(283, 68%, 89%)
CMYKcmyk(19%, 68.1%, 0%, 11.4%)
CIE-LABlab(52.06, 66.98, -58.47)
CIE-LCHlch(52.06, 88.91, 318.88°)
OKLaboklab(61.61% 0.1641 -0.1646)
OKLCHoklch(61.61% 0.232 314.9)
XYZxyz(35.5710, 20.1942, 73.9609)
Luminance0.2019 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B748E2 #73E248
analogous
#6A48E2 #B748E2 #E248C0
triadic
#B748E2 #E2B748 #48E2B7
tetradic
#B748E2 #E26A48 #73E248 #48C0E2
square
#B748E2 #E26A48 #73E248 #48C0E2
split-complementary
#B748E2 #C0E248 #48E26A
monochromatic
#741898 #9C20CC #B748E2 #CC7DEA #E1B2F3

Accessibility & contrast

On white

4.17
#B748E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#B748E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B748E2
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B748E2#FFFFFF#000000##000000
##B748E21.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E6
Deuteranopia (green-blind)
#437FDE
Tritanopia (blue-blind)
#B36790
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b748e2;
/* rgb */ color: rgb(183, 72, 226);
/* oklch */ color: oklch(61.6% 0.232 314.9);
Tailwind
colors: {
  custom: {
    50: '#d183ec',
    500: '#b748e2',
    950: '#000000',
  },
}
SCSS
$custom: #b748e2;
$custom-light: #d183ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b748e2",
  "rgb": {
    "r": 183,
    "g": 72,
    "b": 226
  },
  "hsl": {
    "h": 283.247,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.61606,
    "c": 0.23243,
    "h": 314.9
  },
  "luminance": 0.20193
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B748E2

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

Preview Lab → · Contrast checker → · Palette generator →

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