#B245BC#B245BC

#B245BC is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.3% C 0.200 H 324.3°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#B245BC
RGBrgb(178, 69, 188)
HSLhsl(295, 47%, 50%)
HSVhsv(295, 63%, 74%)
CMYKcmyk(5.3%, 63.3%, 0%, 26.3%)
CIE-LABlab(48.70, 59.89, -42.08)
CIE-LCHlch(48.70, 73.19, 324.90°)
OKLaboklab(58.34% 0.1624 -0.1168)
OKLCHoklch(58.34% 0.2 324.3)
XYZxyz(29.5645, 17.3538, 49.3596)
Luminance0.1735 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B245BC #4FBC45
analogous
#7645BC #B245BC #BC458A
triadic
#B245BC #BCB245 #45BCB2
tetradic
#B245BC #BC7645 #4FBC45 #458ABC
square
#B245BC #BC7645 #4FBC45 #458ABC
split-complementary
#B245BC #8ABC45 #45BC76
monochromatic
#5E2463 #883490 #B245BC #C572CC #D79FDC

Accessibility & contrast

On white

4.70
#B245BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#B245BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B245BC
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B245BC#FFFFFF#000000##FFFFFF
##B245BC1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6BC0
Deuteranopia (green-blind)
#5978B9
Tritanopia (blue-blind)
#B5577A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b245bc;
/* rgb */ color: rgb(178, 69, 188);
/* oklch */ color: oklch(58.3% 0.200 324.3);
Tailwind
colors: {
  custom: {
    50: '#cc80d1',
    500: '#b245bc',
    950: '#000000',
  },
}
SCSS
$custom: #b245bc;
$custom-light: #cc80d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b245bc",
  "rgb": {
    "r": 178,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 294.958,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58342,
    "c": 0.20007,
    "h": 324.3
  },
  "luminance": 0.17352
}

Semantic roles & 50–950 ramp

primary
#B245BC
secondary
#98C994
accent
#D7515C
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B245BC

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

Preview Lab → · Contrast checker → · Palette generator →

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