#B748DC#B748DC

#B748DC is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.2% C 0.227 H 316.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#B748DC
RGBrgb(183, 72, 220)
HSLhsl(285, 68%, 57%)
HSVhsv(285, 67%, 86%)
CMYKcmyk(16.8%, 67.3%, 0%, 13.7%)
CIE-LABlab(51.69, 65.80, -55.66)
CIE-LCHlch(51.69, 86.18, 319.77°)
OKLaboklab(61.23% 0.1645 -0.1563)
OKLCHoklch(61.23% 0.227 316.5)
XYZxyz(34.7621, 19.8707, 69.7006)
Luminance0.1987 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B748DC #6DDC48
analogous
#6D48DC #B748DC #DC48B7
triadic
#B748DC #DCB748 #48DCB7
tetradic
#B748DC #DC6D48 #6DDC48 #48B7DC
square
#B748DC #DC6D48 #6DDC48 #48B7DC
split-complementary
#B748DC #B7DC48 #48DC6D
monochromatic
#721B8E #9B25C2 #B748DC #CB7BE6 #DFAFF0

Accessibility & contrast

On white

4.22
#B748DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#B748DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B748DC
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B748DC#FFFFFF#000000##000000
##B748DC1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#497ED9
Tritanopia (blue-blind)
#B5658D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b748dc;
/* rgb */ color: rgb(183, 72, 220);
/* oklch */ color: oklch(61.2% 0.227 316.5);
Tailwind
colors: {
  custom: {
    50: '#d083e7',
    500: '#b748dc',
    950: '#000000',
  },
}
SCSS
$custom: #b748dc;
$custom-light: #d083e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b748dc",
  "rgb": {
    "r": 183,
    "g": 72,
    "b": 220
  },
  "hsl": {
    "h": 285,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61227,
    "c": 0.22696,
    "h": 316.5
  },
  "luminance": 0.19869
}

Semantic roles & 50–950 ramp

primary
#B748DC
secondary
#B1DEA2
accent
#EB3D68
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B748DC

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

Preview Lab → · Contrast checker → · Palette generator →

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