#B248C1#B248C1

#B248C1 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.0% C 0.200 H 322.5°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#B248C1
RGBrgb(178, 72, 193)
HSLhsl(293, 49%, 52%)
HSVhsv(293, 63%, 76%)
CMYKcmyk(7.8%, 62.7%, 0%, 24.3%)
CIE-LABlab(49.44, 59.51, -43.82)
CIE-LCHlch(49.44, 73.91, 323.64°)
OKLaboklab(58.96% 0.159 -0.1219)
OKLCHoklch(58.96% 0.2 322.5)
XYZxyz(30.3021, 17.9516, 52.3106)
Luminance0.1795 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B248C1 #57C148
analogous
#7648C1 #B248C1 #C14894
triadic
#B248C1 #C1B248 #48C1B2
tetradic
#B248C1 #C17648 #57C148 #4894C1
square
#B248C1 #C17648 #57C148 #4894C1
split-complementary
#B248C1 #94C148 #48C176
monochromatic
#62246B #8C3498 #B248C1 #C576D0 #D8A3E0

Accessibility & contrast

On white

4.58
#B248C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#B248C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B248C1
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B248C1#FFFFFF#000000##000000
##B248C11.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D6EC5
Deuteranopia (green-blind)
#587ABE
Tritanopia (blue-blind)
#B45B7E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b248c1;
/* rgb */ color: rgb(178, 72, 193);
/* oklch */ color: oklch(59.0% 0.200 322.5);
Tailwind
colors: {
  custom: {
    50: '#cc82d4',
    500: '#b248c1',
    950: '#000000',
  },
}
SCSS
$custom: #b248c1;
$custom-light: #cc82d4;
$custom-dark: #000000;
JSON
{
  "hex": "#b248c1",
  "rgb": {
    "r": 178,
    "g": 72,
    "b": 193
  },
  "hsl": {
    "h": 292.562,
    "s": 49.388,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58961,
    "c": 0.20038,
    "h": 322.5
  },
  "luminance": 0.1795
}

Semantic roles & 50–950 ramp

primary
#B248C1
secondary
#9ECD98
accent
#D94F60
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B248C1

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

Preview Lab → · Contrast checker → · Palette generator →

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