#B245AC#B245AC

#B245AC is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.5% C 0.186 H 329.9°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#B245AC
RGBrgb(178, 69, 172)
HSLhsl(303, 44%, 48%)
HSVhsv(303, 61%, 70%)
CMYKcmyk(0%, 61.2%, 3.4%, 30.2%)
CIE-LABlab(47.88, 57.08, -34.02)
CIE-LCHlch(47.88, 66.45, 329.21°)
OKLaboklab(57.48% 0.1613 -0.0935)
OKLCHoklch(57.48% 0.186 329.9)
XYZxyz(27.9344, 16.7017, 40.7742)
Luminance0.1670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B245AC #45B24B
analogous
#8145B2 #B245AC #B24575
triadic
#B245AC #ACB245 #45ACB2
tetradic
#B245AC #B28145 #45B24B #4575B2
square
#B245AC #B28145 #45B24B #4575B2
split-complementary
#B245AC #75B245 #45B281
monochromatic
#5A2357 #863481 #B245AC #C76EC2 #D89AD4

Accessibility & contrast

On white

4.84
#B245AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#B245AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B245AC
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B245AC#FFFFFF#000000##FFFFFF
##B245AC1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C68AF
Deuteranopia (green-blind)
#6177A9
Tritanopia (blue-blind)
#B85172
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b245ac;
/* rgb */ color: rgb(178, 69, 172);
/* oklch */ color: oklch(57.5% 0.186 329.9);
Tailwind
colors: {
  custom: {
    50: '#cc80c5',
    500: '#b245ac',
    950: '#000000',
  },
}
SCSS
$custom: #b245ac;
$custom-light: #cc80c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b245ac",
  "rgb": {
    "r": 178,
    "g": 69,
    "b": 172
  },
  "hsl": {
    "h": 303.303,
    "s": 44.13,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57479,
    "c": 0.18645,
    "h": 329.9
  },
  "luminance": 0.167
}

Semantic roles & 50–950 ramp

primary
#B245AC
secondary
#8FC492
accent
#D45B54
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B245AC

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

Preview Lab → · Contrast checker → · Palette generator →

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