#B048CF#B048CF

#B048CF is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.5% C 0.212 H 317.6°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#B048CF
RGBrgb(176, 72, 207)
HSLhsl(286, 58%, 55%)
HSVhsv(286, 65%, 81%)
CMYKcmyk(15%, 65.2%, 0%, 18.8%)
CIE-LABlab(49.94, 61.71, -51.10)
CIE-LCHlch(49.94, 80.12, 320.38°)
OKLaboklab(59.52% 0.1567 -0.1432)
OKLCHoklch(59.52% 0.212 317.6)
XYZxyz(31.4827, 18.3711, 60.9070)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B048CF #67CF48
analogous
#6C48CF #B048CF #CF48AB
triadic
#B048CF #CFB048 #48CFB0
tetradic
#B048CF #CF6C48 #67CF48 #48ABCF
square
#B048CF #CF6C48 #67CF48 #48ABCF
split-complementary
#B048CF #ABCF48 #48CF6C
monochromatic
#67217C #8F2DAD #B048CF #C578DC #DAA9E8

Accessibility & contrast

On white

4.49
#B048CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#B048CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B048CF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B048CF#FFFFFF#000000##000000
##B048CF1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1370D3
Deuteranopia (green-blind)
#4C7ACC
Tritanopia (blue-blind)
#AF6186
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b048cf;
/* rgb */ color: rgb(176, 72, 207);
/* oklch */ color: oklch(59.5% 0.212 317.6);
Tailwind
colors: {
  custom: {
    50: '#cb82de',
    500: '#b048cf',
    950: '#000000',
  },
}
SCSS
$custom: #b048cf;
$custom-light: #cb82de;
$custom-dark: #000000;
JSON
{
  "hex": "#b048cf",
  "rgb": {
    "r": 176,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 286.222,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59523,
    "c": 0.21226,
    "h": 317.6
  },
  "luminance": 0.1837
}

Semantic roles & 50–950 ramp

primary
#B048CF
secondary
#AAD69D
accent
#E2466A
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B048CF

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

Preview Lab → · Contrast checker → · Palette generator →

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