#B248C8#B248C8

#B248C8 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.4% C 0.207 H 320.4°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#B248C8
RGBrgb(178, 72, 200)
HSLhsl(290, 54%, 53%)
HSVhsv(290, 64%, 78%)
CMYKcmyk(11%, 64%, 0%, 21.6%)
CIE-LABlab(49.82, 60.83, -47.25)
CIE-LCHlch(49.82, 77.02, 322.16°)
OKLaboklab(59.37% 0.1592 -0.1319)
OKLCHoklch(59.37% 0.207 320.4)
XYZxyz(31.1015, 18.2713, 56.5209)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B248C8 #5EC848
analogous
#7248C8 #B248C8 #C8489E
triadic
#B248C8 #C8B248 #48C8B2
tetradic
#B248C8 #C87248 #5EC848 #489EC8
square
#B248C8 #C87248 #5EC848 #489EC8
split-complementary
#B248C8 #9EC848 #48C872
monochromatic
#652373 #8F31A2 #B248C8 #C677D6 #DAA6E4

Accessibility & contrast

On white

4.51
#B248C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#B248C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B248C8
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B248C8#FFFFFF#000000##000000
##B248C81.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#246FCC
Deuteranopia (green-blind)
#547AC5
Tritanopia (blue-blind)
#B35D82
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b248c8;
/* rgb */ color: rgb(178, 72, 200);
/* oklch */ color: oklch(59.4% 0.207 320.4);
Tailwind
colors: {
  custom: {
    50: '#cc82d9',
    500: '#b248c8',
    950: '#000000',
  },
}
SCSS
$custom: #b248c8;
$custom-light: #cc82d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b248c8",
  "rgb": {
    "r": 178,
    "g": 72,
    "b": 200
  },
  "hsl": {
    "h": 289.688,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59365,
    "c": 0.20669,
    "h": 320.4
  },
  "luminance": 0.1827
}

Semantic roles & 50–950 ramp

primary
#B248C8
secondary
#A4D19A
accent
#DD4B64
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B15
muted
#827C83

Preview Lab

Preview with #B248C8

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

Preview Lab → · Contrast checker → · Palette generator →

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