#B245BF#B245BF

#B245BF is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 58.5% C 0.203 H 323.3°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#B245BF
RGBrgb(178, 69, 191)
HSLhsl(294, 49%, 51%)
HSVhsv(294, 64%, 75%)
CMYKcmyk(6.8%, 63.9%, 0%, 25.1%)
CIE-LABlab(48.86, 60.43, -43.57)
CIE-LCHlch(48.86, 74.50, 324.21°)
OKLaboklab(58.51% 0.1625 -0.1211)
OKLCHoklch(58.51% 0.203 323.3)
XYZxyz(29.8913, 17.4845, 51.0805)
Luminance0.1748 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B245BF #52BF45
analogous
#7545BF #B245BF #BF458F
triadic
#B245BF #BFB245 #45BFB2
tetradic
#B245BF #BF7545 #52BF45 #458FBF
square
#B245BF #BF7545 #52BF45 #458FBF
split-complementary
#B245BF #8FBF45 #45BF75
monochromatic
#5F2366 #8A3394 #B245BF #C573CF #D8A0DE

Accessibility & contrast

On white

4.67
#B245BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#B245BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B245BF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B245BF#FFFFFF#000000##FFFFFF
##B245BF1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6CC3
Deuteranopia (green-blind)
#5778BC
Tritanopia (blue-blind)
#B5587C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b245bf;
/* rgb */ color: rgb(178, 69, 191);
/* oklch */ color: oklch(58.5% 0.203 323.3);
Tailwind
colors: {
  custom: {
    50: '#cc80d3',
    500: '#b245bf',
    950: '#000000',
  },
}
SCSS
$custom: #b245bf;
$custom-light: #cc80d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b245bf",
  "rgb": {
    "r": 178,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 293.607,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58512,
    "c": 0.20269,
    "h": 323.3
  },
  "luminance": 0.17483
}

Semantic roles & 50–950 ramp

primary
#B245BF
secondary
#9BCB95
accent
#D84F5E
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B245BF

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

Preview Lab → · Contrast checker → · Palette generator →

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