#B848DB#B848DB

#B848DB is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.3% C 0.226 H 317.1°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#B848DB
RGBrgb(184, 72, 219)
HSLhsl(286, 67%, 57%)
HSVhsv(286, 67%, 86%)
CMYKcmyk(16%, 67.1%, 0%, 14.1%)
CIE-LABlab(51.77, 65.82, -54.96)
CIE-LCHlch(51.77, 85.75, 320.14°)
OKLaboklab(61.29% 0.1658 -0.1542)
OKLCHoklch(61.29% 0.226 317.1)
XYZxyz(34.8688, 19.9410, 69.0164)
Luminance0.1994 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B848DB #6BDB48
analogous
#6F48DB #B848DB #DB48B5
triadic
#B848DB #DBB848 #48DBB8
tetradic
#B848DB #DB6F48 #6BDB48 #48B5DB
square
#B848DB #DB6F48 #6BDB48 #48B5DB
split-complementary
#B848DB #B5DB48 #48DB6F
monochromatic
#721C8D #9B26C0 #B848DB #CC7BE5 #E0AEEF

Accessibility & contrast

On white

4.21
#B848DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#B848DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B848DB
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B848DB#FFFFFF#000000##000000
##B848DB1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b848db;
/* rgb */ color: rgb(184, 72, 219);
/* oklch */ color: oklch(61.3% 0.226 317.1);
Tailwind
colors: {
  custom: {
    50: '#d183e7',
    500: '#b848db',
    950: '#000000',
  },
}
SCSS
$custom: #b848db;
$custom-light: #d183e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b848db",
  "rgb": {
    "r": 184,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 285.714,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61294,
    "c": 0.22644,
    "h": 317.1
  },
  "luminance": 0.1994
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B848DB

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

Preview Lab → · Contrast checker → · Palette generator →

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