#B048CA#B048CA

#B048CA is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.2% C 0.208 H 319.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#B048CA
RGBrgb(176, 72, 202)
HSLhsl(288, 55%, 54%)
HSVhsv(288, 64%, 79%)
CMYKcmyk(12.9%, 64.4%, 0%, 20.8%)
CIE-LABlab(49.65, 60.74, -48.69)
CIE-LCHlch(49.65, 77.84, 321.29°)
OKLaboklab(59.22% 0.1568 -0.1361)
OKLCHoklch(59.22% 0.208 319)
XYZxyz(30.8811, 18.1305, 57.7385)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B048CA #62CA48
analogous
#6F48CA #B048CA #CA48A3
triadic
#B048CA #CAB048 #48CAB0
tetradic
#B048CA #CA6F48 #62CA48 #48A3CA
square
#B048CA #CA6F48 #62CA48 #48A3CA
split-complementary
#B048CA #A3CA48 #48CA6F
monochromatic
#652276 #8E30A5 #B048CA #C477D8 #D9A7E5

Accessibility & contrast

On white

4.54
#B048CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#B048CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B048CA
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B048CA#FFFFFF#000000##000000
##B048CA1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E6FCE
Deuteranopia (green-blind)
#507AC7
Tritanopia (blue-blind)
#B05F83
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b048ca;
/* rgb */ color: rgb(176, 72, 202);
/* oklch */ color: oklch(59.2% 0.208 319.0);
Tailwind
colors: {
  custom: {
    50: '#cb82db',
    500: '#b048ca',
    950: '#000000',
  },
}
SCSS
$custom: #b048ca;
$custom-light: #cb82db;
$custom-dark: #000000;
JSON
{
  "hex": "#b048ca",
  "rgb": {
    "r": 176,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 288,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59221,
    "c": 0.20764,
    "h": 319
  },
  "luminance": 0.18129
}

Semantic roles & 50–950 ramp

primary
#B048CA
secondary
#A6D39B
accent
#DE4967
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B048CA

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

Preview Lab → · Contrast checker → · Palette generator →

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