#B048CC#B048CC

#B048CC is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.3% C 0.209 H 318.4°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#B048CC
RGBrgb(176, 72, 204)
HSLhsl(287, 56%, 54%)
HSVhsv(287, 65%, 80%)
CMYKcmyk(13.7%, 64.7%, 0%, 20%)
CIE-LABlab(49.77, 61.13, -49.65)
CIE-LCHlch(49.77, 78.75, 320.91°)
OKLaboklab(59.34% 0.1568 -0.139)
OKLCHoklch(59.34% 0.209 318.4)
XYZxyz(31.1195, 18.2258, 58.9938)
Luminance0.1822 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B048CC #64CC48
analogous
#6E48CC #B048CC #CC48A6
triadic
#B048CC #CCB048 #48CCB0
tetradic
#B048CC #CC6E48 #64CC48 #48A6CC
square
#B048CC #CC6E48 #64CC48 #48A6CC
split-complementary
#B048CC #A6CC48 #48CC6E
monochromatic
#662178 #8E2FA8 #B048CC #C578D9 #D9A8E7

Accessibility & contrast

On white

4.52
#B048CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#B048CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B048CC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B048CC#FFFFFF#000000##000000
##B048CC1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A70D0
Deuteranopia (green-blind)
#4F7AC9
Tritanopia (blue-blind)
#B05F84
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b048cc;
/* rgb */ color: rgb(176, 72, 204);
/* oklch */ color: oklch(59.3% 0.209 318.4);
Tailwind
colors: {
  custom: {
    50: '#cb82dc',
    500: '#b048cc',
    950: '#000000',
  },
}
SCSS
$custom: #b048cc;
$custom-light: #cb82dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b048cc",
  "rgb": {
    "r": 176,
    "g": 72,
    "b": 204
  },
  "hsl": {
    "h": 287.273,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59341,
    "c": 0.20948,
    "h": 318.4
  },
  "luminance": 0.18224
}

Semantic roles & 50–950 ramp

primary
#B048CC
secondary
#A8D49C
accent
#E04868
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B048CC

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

Preview Lab → · Contrast checker → · Palette generator →

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