#B048CD#B048CD

#B048CD is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.4% C 0.210 H 318.2°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#B048CD
RGBrgb(176, 72, 205)
HSLhsl(287, 57%, 54%)
HSVhsv(287, 65%, 80%)
CMYKcmyk(14.1%, 64.9%, 0%, 19.6%)
CIE-LABlab(49.83, 61.32, -50.13)
CIE-LCHlch(49.83, 79.21, 320.73°)
OKLaboklab(59.4% 0.1567 -0.1404)
OKLCHoklch(59.4% 0.21 318.2)
XYZxyz(31.2398, 18.2739, 59.6274)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B048CD #65CD48
analogous
#6D48CD #B048CD #CD48A8
triadic
#B048CD #CDB048 #48CDB0
tetradic
#B048CD #CD6D48 #65CD48 #48A8CD
square
#B048CD #CD6D48 #65CD48 #48A8CD
split-complementary
#B048CD #A8CD48 #48CD6D
monochromatic
#662179 #8F2EA9 #B048CD #C578DA #DAA8E7

Accessibility & contrast

On white

4.51
#B048CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#B048CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B048CD
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B048CD#FFFFFF#000000##000000
##B048CD1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1870D1
Deuteranopia (green-blind)
#4E7ACA
Tritanopia (blue-blind)
#AF6084
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b048cd;
/* rgb */ color: rgb(176, 72, 205);
/* oklch */ color: oklch(59.4% 0.210 318.2);
Tailwind
colors: {
  custom: {
    50: '#cb82dd',
    500: '#b048cd',
    950: '#000000',
  },
}
SCSS
$custom: #b048cd;
$custom-light: #cb82dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b048cd",
  "rgb": {
    "r": 176,
    "g": 72,
    "b": 205
  },
  "hsl": {
    "h": 286.917,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59401,
    "c": 0.21041,
    "h": 318.2
  },
  "luminance": 0.18273
}

Semantic roles & 50–950 ramp

primary
#B048CD
secondary
#A8D59C
accent
#E04769
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B048CD

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

Preview Lab → · Contrast checker → · Palette generator →

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