#B248C4#B248C4

#B248C4 is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.1% C 0.203 H 321.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#B248C4
RGBrgb(178, 72, 196)
HSLhsl(291, 51%, 53%)
HSVhsv(291, 63%, 77%)
CMYKcmyk(9.2%, 63.3%, 0%, 23.1%)
CIE-LABlab(49.60, 60.07, -45.29)
CIE-LCHlch(49.60, 75.23, 322.98°)
OKLaboklab(59.13% 0.1591 -0.1262)
OKLCHoklch(59.13% 0.203 321.6)
XYZxyz(30.6402, 18.0868, 54.0910)
Luminance0.1809 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B248C4 #5AC448
analogous
#7448C4 #B248C4 #C44898
triadic
#B248C4 #C4B248 #48C4B2
tetradic
#B248C4 #C47448 #5AC448 #4898C4
square
#B248C4 #C47448 #5AC448 #4898C4
split-complementary
#B248C4 #98C448 #48C474
monochromatic
#63236E #8D329C #B248C4 #C576D3 #D9A5E2

Accessibility & contrast

On white

4.55
#B248C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#B248C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B248C4
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B248C4#FFFFFF#000000##000000
##B248C41.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A6EC8
Deuteranopia (green-blind)
#567AC1
Tritanopia (blue-blind)
#B45C80
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b248c4;
/* rgb */ color: rgb(178, 72, 196);
/* oklch */ color: oklch(59.1% 0.203 321.6);
Tailwind
colors: {
  custom: {
    50: '#cc82d6',
    500: '#b248c4',
    950: '#000000',
  },
}
SCSS
$custom: #b248c4;
$custom-light: #cc82d6;
$custom-dark: #000000;
JSON
{
  "hex": "#b248c4",
  "rgb": {
    "r": 178,
    "g": 72,
    "b": 196
  },
  "hsl": {
    "h": 291.29,
    "s": 51.24,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59133,
    "c": 0.20308,
    "h": 321.6
  },
  "luminance": 0.18085
}

Semantic roles & 50–950 ramp

primary
#B248C4
secondary
#A1CF99
accent
#DB4D62
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B248C4

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

Preview Lab → · Contrast checker → · Palette generator →

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