#B748DB#B748DB

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

Color values

HEX#B748DB
RGBrgb(183, 72, 219)
HSLhsl(285, 67%, 57%)
HSVhsv(285, 67%, 86%)
CMYKcmyk(16.4%, 67.1%, 0%, 14.1%)
CIE-LABlab(51.63, 65.60, -55.19)
CIE-LCHlch(51.63, 85.73, 319.93°)
OKLaboklab(61.17% 0.1646 -0.1549)
OKLCHoklch(61.17% 0.226 316.7)
XYZxyz(34.6301, 19.8179, 69.0052)
Luminance0.1982 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B748DB #6CDB48
analogous
#6E48DB #B748DB #DB48B6
triadic
#B748DB #DBB748 #48DBB7
tetradic
#B748DB #DB6E48 #6CDB48 #48B6DB
square
#B748DB #DB6E48 #6CDB48 #48B6DB
split-complementary
#B748DB #B6DB48 #48DB6E
monochromatic
#711C8D #9A26C0 #B748DB #CB7BE5 #DFAEEF

Accessibility & contrast

On white

4.23
#B748DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#B748DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B748DB
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B748DB#FFFFFF#000000##000000
##B748DB1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#4A7ED8
Tritanopia (blue-blind)
#B5648C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b748db;
/* rgb */ color: rgb(183, 72, 219);
/* oklch */ color: oklch(61.2% 0.226 316.7);
Tailwind
colors: {
  custom: {
    50: '#d083e7',
    500: '#b748db',
    950: '#000000',
  },
}
SCSS
$custom: #b748db;
$custom-light: #d083e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b748db",
  "rgb": {
    "r": 183,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 285.306,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61165,
    "c": 0.22606,
    "h": 316.7
  },
  "luminance": 0.19816
}

Semantic roles & 50–950 ramp

primary
#B748DB
secondary
#B0DDA2
accent
#EA3E68
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B748DB

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

Preview Lab → · Contrast checker → · Palette generator →

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