#B248C0#B248C0

#B248C0 is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.9% C 0.199 H 322.9°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#B248C0
RGBrgb(178, 72, 192)
HSLhsl(293, 49%, 52%)
HSVhsv(293, 63%, 75%)
CMYKcmyk(7.3%, 62.5%, 0%, 24.7%)
CIE-LABlab(49.38, 59.33, -43.33)
CIE-LCHlch(49.38, 73.46, 323.86°)
OKLaboklab(58.9% 0.159 -0.1205)
OKLCHoklch(58.9% 0.199 322.9)
XYZxyz(30.1910, 17.9071, 51.7251)
Luminance0.1790 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B248C0 #56C048
analogous
#7648C0 #B248C0 #C04892
triadic
#B248C0 #C0B248 #48C0B2
tetradic
#B248C0 #C07648 #56C048 #4892C0
square
#B248C0 #C07648 #56C048 #4892C0
split-complementary
#B248C0 #92C048 #48C076
monochromatic
#612469 #8B3497 #B248C0 #C576D0 #D8A3DF

Accessibility & contrast

On white

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

On black

4.58
#B248C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B248C0
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B248C0#FFFFFF#000000##000000
##B248C01.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F6DC4
Deuteranopia (green-blind)
#597ABD
Tritanopia (blue-blind)
#B55A7E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b248c0;
/* rgb */ color: rgb(178, 72, 192);
/* oklch */ color: oklch(58.9% 0.199 322.9);
Tailwind
colors: {
  custom: {
    50: '#cc82d3',
    500: '#b248c0',
    950: '#000000',
  },
}
SCSS
$custom: #b248c0;
$custom-light: #cc82d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b248c0",
  "rgb": {
    "r": 178,
    "g": 72,
    "b": 192
  },
  "hsl": {
    "h": 293,
    "s": 48.78,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58904,
    "c": 0.19949,
    "h": 322.9
  },
  "luminance": 0.17905
}

Semantic roles & 50–950 ramp

primary
#B248C0
secondary
#9ECC98
accent
#D84F5F
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B248C0

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

Preview Lab → · Contrast checker → · Palette generator →

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