#B245BE#B245BE

#B245BE is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.5% C 0.202 H 323.6°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#B245BE
RGBrgb(178, 69, 190)
HSLhsl(294, 48%, 51%)
HSVhsv(294, 64%, 75%)
CMYKcmyk(6.3%, 63.7%, 0%, 25.5%)
CIE-LABlab(48.81, 60.25, -43.07)
CIE-LCHlch(48.81, 74.06, 324.44°)
OKLaboklab(58.46% 0.1625 -0.1197)
OKLCHoklch(58.46% 0.202 323.6)
XYZxyz(29.7816, 17.4406, 50.5029)
Luminance0.1744 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B245BE #51BE45
analogous
#7545BE #B245BE #BE458D
triadic
#B245BE #BEB245 #45BEB2
tetradic
#B245BE #BE7545 #51BE45 #458DBE
square
#B245BE #BE7545 #51BE45 #458DBE
split-complementary
#B245BE #8DBE45 #45BE75
monochromatic
#5F2365 #893393 #B245BE #C572CE #D8A0DE

Accessibility & contrast

On white

4.68
#B245BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#B245BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B245BE
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B245BE#FFFFFF#000000##FFFFFF
##B245BE1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6CC2
Deuteranopia (green-blind)
#5878BB
Tritanopia (blue-blind)
#B5587B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b245be;
/* rgb */ color: rgb(178, 69, 190);
/* oklch */ color: oklch(58.5% 0.202 323.6);
Tailwind
colors: {
  custom: {
    50: '#cc80d2',
    500: '#b245be',
    950: '#000000',
  },
}
SCSS
$custom: #b245be;
$custom-light: #cc80d2;
$custom-dark: #000000;
JSON
{
  "hex": "#b245be",
  "rgb": {
    "r": 178,
    "g": 69,
    "b": 190
  },
  "hsl": {
    "h": 294.05,
    "s": 48.207,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58455,
    "c": 0.20181,
    "h": 323.6
  },
  "luminance": 0.17439
}

Semantic roles & 50–950 ramp

primary
#B245BE
secondary
#9ACA95
accent
#D8505D
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B245BE

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

Preview Lab → · Contrast checker → · Palette generator →

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