#B248C2#B248C2

#B248C2 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.0% C 0.201 H 322.2°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#B248C2
RGBrgb(178, 72, 194)
HSLhsl(292, 50%, 52%)
HSVhsv(292, 63%, 76%)
CMYKcmyk(8.2%, 62.9%, 0%, 23.9%)
CIE-LABlab(49.49, 59.70, -44.31)
CIE-LCHlch(49.49, 74.35, 323.42°)
OKLaboklab(59.02% 0.1591 -0.1233)
OKLCHoklch(59.02% 0.201 322.2)
XYZxyz(30.4141, 17.9963, 52.9001)
Luminance0.1799 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B248C2 #58C248
analogous
#7548C2 #B248C2 #C24895
triadic
#B248C2 #C2B248 #48C2B2
tetradic
#B248C2 #C27548 #58C248 #4895C2
square
#B248C2 #C27548 #58C248 #4895C2
split-complementary
#B248C2 #95C248 #48C275
monochromatic
#62246C #8C339A #B248C2 #C576D1 #D9A4E1

Accessibility & contrast

On white

4.57
#B248C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#B248C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B248C2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B248C2#FFFFFF#000000##000000
##B248C21.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C6EC6
Deuteranopia (green-blind)
#577ABF
Tritanopia (blue-blind)
#B45B7F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b248c2;
/* rgb */ color: rgb(178, 72, 194);
/* oklch */ color: oklch(59.0% 0.201 322.2);
Tailwind
colors: {
  custom: {
    50: '#cc82d5',
    500: '#b248c2',
    950: '#000000',
  },
}
SCSS
$custom: #b248c2;
$custom-light: #cc82d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b248c2",
  "rgb": {
    "r": 178,
    "g": 72,
    "b": 194
  },
  "hsl": {
    "h": 292.131,
    "s": 50,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59018,
    "c": 0.20128,
    "h": 322.2
  },
  "luminance": 0.17995
}

Semantic roles & 50–950 ramp

primary
#B248C2
secondary
#9FCE98
accent
#DA4E61
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B248C2

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

Preview Lab → · Contrast checker → · Palette generator →

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