#B248B5#B248B5

#B248B5 is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.3% C 0.190 H 326.6°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#B248B5
RGBrgb(178, 72, 181)
HSLhsl(298, 43%, 50%)
HSVhsv(298, 60%, 71%)
CMYKcmyk(1.7%, 60.2%, 0%, 29%)
CIE-LABlab(48.81, 57.33, -37.84)
CIE-LCHlch(48.81, 68.69, 326.58°)
OKLaboklab(58.3% 0.1584 -0.1045)
OKLCHoklch(58.3% 0.19 326.6)
XYZxyz(29.0174, 17.4377, 45.5445)
Luminance0.1744 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B248B5 #4BB548
analogous
#7C48B5 #B248B5 #B54881
triadic
#B248B5 #B5B248 #48B5B2
tetradic
#B248B5 #B57C48 #4BB548 #4881B5
square
#B248B5 #B57C48 #4BB548 #4881B5
split-complementary
#B248B5 #81B548 #48B57C
monochromatic
#5C255D #873789 #B248B5 #C573C7 #D79FD9

Accessibility & contrast

On white

4.68
#B248B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#B248B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B248B5
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B248B5#FFFFFF#000000##FFFFFF
##B248B51.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396BB8
Deuteranopia (green-blind)
#5F79B2
Tritanopia (blue-blind)
#B75678
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b248b5;
/* rgb */ color: rgb(178, 72, 181);
/* oklch */ color: oklch(58.3% 0.190 326.6);
Tailwind
colors: {
  custom: {
    50: '#cc82cb',
    500: '#b248b5',
    950: '#000000',
  },
}
SCSS
$custom: #b248b5;
$custom-light: #cc82cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b248b5",
  "rgb": {
    "r": 178,
    "g": 72,
    "b": 181
  },
  "hsl": {
    "h": 298.349,
    "s": 43.083,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58299,
    "c": 0.1898,
    "h": 326.6
  },
  "luminance": 0.17436
}

Semantic roles & 50–950 ramp

primary
#B248B5
secondary
#95C593
accent
#D35558
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B248B5

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

Preview Lab → · Contrast checker → · Palette generator →

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