#B848C2#B848C2

#B848C2 is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 59.8% C 0.204 H 324.4°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B848C2
RGBrgb(184, 72, 194)
HSLhsl(295, 50%, 52%)
HSVhsv(295, 63%, 76%)
CMYKcmyk(5.2%, 62.9%, 0%, 23.9%)
CIE-LABlab(50.36, 61.15, -42.88)
CIE-LCHlch(50.36, 74.69, 324.96°)
OKLaboklab(59.82% 0.166 -0.119)
OKLCHoklch(59.82% 0.204 324.4)
XYZxyz(31.8213, 18.7220, 52.9661)
Luminance0.1872 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B848C2 #52C248
analogous
#7B48C2 #B848C2 #C2488F
triadic
#B848C2 #C2B848 #48C2B8
tetradic
#B848C2 #C27B48 #52C248 #488FC2
square
#B848C2 #C27B48 #52C248 #488FC2
split-complementary
#B848C2 #8FC248 #48C27B
monochromatic
#66246C #91339A #B848C2 #CA76D1 #DCA4E1

Accessibility & contrast

On white

4.43
#B848C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#B848C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B848C2
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B848C2#FFFFFF#000000##000000
##B848C21.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#316FC6
Deuteranopia (green-blind)
#5D7DBF
Tritanopia (blue-blind)
#BC5A7F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b848c2;
/* rgb */ color: rgb(184, 72, 194);
/* oklch */ color: oklch(59.8% 0.204 324.4);
Tailwind
colors: {
  custom: {
    50: '#d083d5',
    500: '#b848c2',
    950: '#000000',
  },
}
SCSS
$custom: #b848c2;
$custom-light: #d083d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b848c2",
  "rgb": {
    "r": 184,
    "g": 72,
    "b": 194
  },
  "hsl": {
    "h": 295.082,
    "s": 50,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59823,
    "c": 0.20423,
    "h": 324.4
  },
  "luminance": 0.1872
}

Semantic roles & 50–950 ramp

primary
#B848C2
secondary
#9DCE98
accent
#DA4E5A
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B848C2

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

Preview Lab → · Contrast checker → · Palette generator →

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