#B248C5#B248C5

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

Color values

HEX#B248C5
RGBrgb(178, 72, 197)
HSLhsl(291, 52%, 53%)
HSVhsv(291, 63%, 77%)
CMYKcmyk(9.6%, 63.5%, 0%, 22.7%)
CIE-LABlab(49.66, 60.26, -45.78)
CIE-LCHlch(49.66, 75.68, 322.77°)
OKLaboklab(59.19% 0.1591 -0.1276)
OKLCHoklch(59.19% 0.204 321.3)
XYZxyz(30.7544, 18.1325, 54.6925)
Luminance0.1813 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B248C5 #5BC548
analogous
#7348C5 #B248C5 #C54899
triadic
#B248C5 #C5B248 #48C5B2
tetradic
#B248C5 #C57348 #5BC548 #4899C5
square
#B248C5 #C57348 #5BC548 #4899C5
split-complementary
#B248C5 #99C548 #48C573
monochromatic
#64236F #8D329E #B248C5 #C676D4 #D9A5E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B248C5#FFFFFF#000000##000000
##B248C51.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)
#286EC9
Deuteranopia (green-blind)
#567AC2
Tritanopia (blue-blind)
#B45C80
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b248c5;
/* rgb */ color: rgb(178, 72, 197);
/* oklch */ color: oklch(59.2% 0.204 321.3);
Tailwind
colors: {
  custom: {
    50: '#cc82d7',
    500: '#b248c5',
    950: '#000000',
  },
}
SCSS
$custom: #b248c5;
$custom-light: #cc82d7;
$custom-dark: #000000;
JSON
{
  "hex": "#b248c5",
  "rgb": {
    "r": 178,
    "g": 72,
    "b": 197
  },
  "hsl": {
    "h": 290.88,
    "s": 51.867,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5919,
    "c": 0.20398,
    "h": 321.3
  },
  "luminance": 0.18131
}

Semantic roles & 50–950 ramp

primary
#B248C5
secondary
#A2CF99
accent
#DB4C62
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B248C5

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

Preview Lab → · Contrast checker → · Palette generator →

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