#B248CB#B248CB

#B248CB is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.5% C 0.209 H 319.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#B248CB
RGBrgb(178, 72, 203)
HSLhsl(289, 56%, 54%)
HSVhsv(289, 65%, 80%)
CMYKcmyk(12.3%, 64.5%, 0%, 20.4%)
CIE-LABlab(49.99, 61.40, -48.70)
CIE-LCHlch(49.99, 78.37, 321.58°)
OKLaboklab(59.54% 0.1592 -0.1361)
OKLCHoklch(59.54% 0.209 319.5)
XYZxyz(31.4556, 18.4129, 58.3855)
Luminance0.1841 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B248CB #61CB48
analogous
#7148CB #B248CB #CB48A3
triadic
#B248CB #CBB248 #48CBB2
tetradic
#B248CB #CB7148 #61CB48 #48A3CB
square
#B248CB #CB7148 #61CB48 #48A3CB
split-complementary
#B248CB #A3CB48 #48CB71
monochromatic
#672277 #902FA6 #B248CB #C678D9 #DAA7E6

Accessibility & contrast

On white

4.48
#B248CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#B248CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B248CB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B248CB#FFFFFF#000000##000000
##B248CB1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F70CF
Deuteranopia (green-blind)
#517BC8
Tritanopia (blue-blind)
#B25F83
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b248cb;
/* rgb */ color: rgb(178, 72, 203);
/* oklch */ color: oklch(59.5% 0.209 319.5);
Tailwind
colors: {
  custom: {
    50: '#cc82db',
    500: '#b248cb',
    950: '#000000',
  },
}
SCSS
$custom: #b248cb;
$custom-light: #cc82db;
$custom-dark: #000000;
JSON
{
  "hex": "#b248cb",
  "rgb": {
    "r": 178,
    "g": 72,
    "b": 203
  },
  "hsl": {
    "h": 288.55,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59542,
    "c": 0.20943,
    "h": 319.5
  },
  "luminance": 0.18412
}

Semantic roles & 50–950 ramp

primary
#B248CB
secondary
#A6D39B
accent
#DF4965
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B248CB

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

Preview Lab → · Contrast checker → · Palette generator →

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