#B048C2#B048C2

#B048C2 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 58.8% C 0.200 H 321.5°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#B048C2
RGBrgb(176, 72, 194)
HSLhsl(291, 50%, 52%)
HSVhsv(291, 63%, 76%)
CMYKcmyk(9.3%, 62.9%, 0%, 23.9%)
CIE-LABlab(49.21, 59.22, -44.78)
CIE-LCHlch(49.21, 74.24, 322.90°)
OKLaboklab(58.75% 0.1567 -0.1248)
OKLCHoklch(58.75% 0.2 321.5)
XYZxyz(29.9584, 17.7614, 52.8787)
Luminance0.1776 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B048C2 #5AC248
analogous
#7348C2 #B048C2 #C24897
triadic
#B048C2 #C2B048 #48C2B0
tetradic
#B048C2 #C27348 #5AC248 #4897C2
square
#B048C2 #C27348 #5AC248 #4897C2
split-complementary
#B048C2 #97C248 #48C273
monochromatic
#61246C #8A339A #B048C2 #C476D1 #D8A4E1

Accessibility & contrast

On white

4.61
#B048C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#B048C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B048C2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B048C2#FFFFFF#000000##FFFFFF
##B048C21.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6DC6
Deuteranopia (green-blind)
#5679BF
Tritanopia (blue-blind)
#B25C7F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b048c2;
/* rgb */ color: rgb(176, 72, 194);
/* oklch */ color: oklch(58.8% 0.200 321.5);
Tailwind
colors: {
  custom: {
    50: '#cb82d5',
    500: '#b048c2',
    950: '#000000',
  },
}
SCSS
$custom: #b048c2;
$custom-light: #cb82d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b048c2",
  "rgb": {
    "r": 176,
    "g": 72,
    "b": 194
  },
  "hsl": {
    "h": 291.148,
    "s": 50,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58752,
    "c": 0.20032,
    "h": 321.5
  },
  "luminance": 0.1776
}

Semantic roles & 50–950 ramp

primary
#B048C2
secondary
#A0CE98
accent
#DA4E63
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B048C2

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

Preview Lab → · Contrast checker → · Palette generator →

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