#B248CC#B248CC

#B248CC is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 59.6% C 0.210 H 319.2°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#B248CC
RGBrgb(178, 72, 204)
HSLhsl(288, 56%, 54%)
HSVhsv(288, 65%, 80%)
CMYKcmyk(12.7%, 64.7%, 0%, 20%)
CIE-LABlab(50.05, 61.59, -49.19)
CIE-LCHlch(50.05, 78.82, 321.39°)
OKLaboklab(59.6% 0.1591 -0.1375)
OKLCHoklch(59.6% 0.21 319.2)
XYZxyz(31.5751, 18.4608, 59.0151)
Luminance0.1846 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B248CC #62CC48
analogous
#7048CC #B248CC #CC48A4
triadic
#B248CC #CCB248 #48CCB2
tetradic
#B248CC #CC7048 #62CC48 #48A4CC
square
#B248CC #CC7048 #62CC48 #48A4CC
split-complementary
#B248CC #A4CC48 #48CC70
monochromatic
#672178 #902FA8 #B248CC #C678D9 #DAA8E7

Accessibility & contrast

On white

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

On black

4.69
#B248CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B248CC
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B248CC#FFFFFF#000000##000000
##B248CC1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D70D0
Deuteranopia (green-blind)
#517BC9
Tritanopia (blue-blind)
#B25F84
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b248cc;
/* rgb */ color: rgb(178, 72, 204);
/* oklch */ color: oklch(59.6% 0.210 319.2);
Tailwind
colors: {
  custom: {
    50: '#cc82dc',
    500: '#b248cc',
    950: '#000000',
  },
}
SCSS
$custom: #b248cc;
$custom-light: #cc82dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b248cc",
  "rgb": {
    "r": 178,
    "g": 72,
    "b": 204
  },
  "hsl": {
    "h": 288.182,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59602,
    "c": 0.21035,
    "h": 319.2
  },
  "luminance": 0.18459
}

Semantic roles & 50–950 ramp

primary
#B248CC
secondary
#A7D49C
accent
#E04866
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B248CC

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

Preview Lab → · Contrast checker → · Palette generator →

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