#B245AE#B245AE

#B245AE is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.6% C 0.188 H 329.2°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#B245AE
RGBrgb(178, 69, 174)
HSLhsl(302, 44%, 48%)
HSVhsv(302, 61%, 70%)
CMYKcmyk(0%, 61.2%, 2.2%, 30.2%)
CIE-LABlab(47.98, 57.42, -35.04)
CIE-LCHlch(47.98, 67.27, 328.61°)
OKLaboklab(57.58% 0.1615 -0.0964)
OKLCHoklch(57.58% 0.188 329.2)
XYZxyz(28.1279, 16.7791, 41.7934)
Luminance0.1678 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B245AE #45B249
analogous
#7F45B2 #B245AE #B24577
triadic
#B245AE #AEB245 #45AEB2
tetradic
#B245AE #B27F45 #45B249 #4577B2
square
#B245AE #B27F45 #45B249 #4577B2
split-complementary
#B245AE #77B245 #45B27F
monochromatic
#5A2358 #863483 #B245AE #C76EC3 #D89AD5

Accessibility & contrast

On white

4.82
#B245AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#B245AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B245AE
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B245AE#FFFFFF#000000##FFFFFF
##B245AE1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B68B1
Deuteranopia (green-blind)
#6177AB
Tritanopia (blue-blind)
#B85173
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b245ae;
/* rgb */ color: rgb(178, 69, 174);
/* oklch */ color: oklch(57.6% 0.188 329.2);
Tailwind
colors: {
  custom: {
    50: '#cc80c6',
    500: '#b245ae',
    950: '#000000',
  },
}
SCSS
$custom: #b245ae;
$custom-light: #cc80c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b245ae",
  "rgb": {
    "r": 178,
    "g": 69,
    "b": 174
  },
  "hsl": {
    "h": 302.202,
    "s": 44.13,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57583,
    "c": 0.18811,
    "h": 329.2
  },
  "luminance": 0.16777
}

Semantic roles & 50–950 ramp

primary
#B245AE
secondary
#8FC491
accent
#D45954
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B245AE

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

Preview Lab → · Contrast checker → · Palette generator →

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