#B248CF#B248CF

#B248CF is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.8% C 0.213 H 318.3°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#B248CF
RGBrgb(178, 72, 207)
HSLhsl(287, 58%, 55%)
HSVhsv(287, 65%, 81%)
CMYKcmyk(14%, 65.2%, 0%, 18.8%)
CIE-LABlab(50.22, 62.17, -50.63)
CIE-LCHlch(50.22, 80.18, 320.84°)
OKLaboklab(59.78% 0.1591 -0.1418)
OKLCHoklch(59.78% 0.213 318.3)
XYZxyz(31.9384, 18.6061, 60.9284)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B248CF #65CF48
analogous
#6E48CF #B248CF #CF48A9
triadic
#B248CF #CFB248 #48CFB2
tetradic
#B248CF #CF6E48 #65CF48 #48A9CF
square
#B248CF #CF6E48 #65CF48 #48A9CF
split-complementary
#B248CF #A9CF48 #48CF6E
monochromatic
#68217C #912DAD #B248CF #C678DC #DBA9E8

Accessibility & contrast

On white

4.45
#B248CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#B248CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B248CF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B248CF#FFFFFF#000000##000000
##B248CF1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1671D3
Deuteranopia (green-blind)
#4E7BCC
Tritanopia (blue-blind)
#B26086
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b248cf;
/* rgb */ color: rgb(178, 72, 207);
/* oklch */ color: oklch(59.8% 0.213 318.3);
Tailwind
colors: {
  custom: {
    50: '#cc82de',
    500: '#b248cf',
    950: '#000000',
  },
}
SCSS
$custom: #b248cf;
$custom-light: #cc82de;
$custom-dark: #000000;
JSON
{
  "hex": "#b248cf",
  "rgb": {
    "r": 178,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 287.111,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59782,
    "c": 0.21308,
    "h": 318.3
  },
  "luminance": 0.18605
}

Semantic roles & 50–950 ramp

primary
#B248CF
secondary
#A9D69D
accent
#E24668
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B248CF

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

Preview Lab → · Contrast checker → · Palette generator →

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