#B248C3#B248C3

#B248C3 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.1% C 0.202 H 321.9°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#B248C3
RGBrgb(178, 72, 195)
HSLhsl(292, 51%, 52%)
HSVhsv(292, 63%, 76%)
CMYKcmyk(8.7%, 63.1%, 0%, 23.5%)
CIE-LABlab(49.55, 59.89, -44.80)
CIE-LCHlch(49.55, 74.79, 323.20°)
OKLaboklab(59.08% 0.1591 -0.1248)
OKLCHoklch(59.08% 0.202 321.9)
XYZxyz(30.5267, 18.0414, 53.4936)
Luminance0.1804 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B248C3 #59C348
analogous
#7448C3 #B248C3 #C34897
triadic
#B248C3 #C3B248 #48C3B2
tetradic
#B248C3 #C37448 #59C348 #4897C3
square
#B248C3 #C37448 #59C348 #4897C3
split-complementary
#B248C3 #97C348 #48C374
monochromatic
#63246D #8D339B #B248C3 #C576D2 #D9A4E1

Accessibility & contrast

On white

4.56
#B248C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#B248C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B248C3
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B248C3#FFFFFF#000000##000000
##B248C31.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B6EC7
Deuteranopia (green-blind)
#577AC0
Tritanopia (blue-blind)
#B45C7F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b248c3;
/* rgb */ color: rgb(178, 72, 195);
/* oklch */ color: oklch(59.1% 0.202 321.9);
Tailwind
colors: {
  custom: {
    50: '#cc82d6',
    500: '#b248c3',
    950: '#000000',
  },
}
SCSS
$custom: #b248c3;
$custom-light: #cc82d6;
$custom-dark: #000000;
JSON
{
  "hex": "#b248c3",
  "rgb": {
    "r": 178,
    "g": 72,
    "b": 195
  },
  "hsl": {
    "h": 291.707,
    "s": 50.617,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59075,
    "c": 0.20217,
    "h": 321.9
  },
  "luminance": 0.1804
}

Semantic roles & 50–950 ramp

primary
#B248C3
secondary
#A0CE99
accent
#DA4E61
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B248C3

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

Preview Lab → · Contrast checker → · Palette generator →

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