#B245C4#B245C4

#B245C4 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 58.8% C 0.207 H 321.7°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#B245C4
RGBrgb(178, 69, 196)
HSLhsl(291, 52%, 52%)
HSVhsv(291, 65%, 77%)
CMYKcmyk(9.2%, 64.8%, 0%, 23.1%)
CIE-LABlab(49.14, 61.35, -46.03)
CIE-LCHlch(49.14, 76.70, 323.12°)
OKLaboklab(58.8% 0.1626 -0.1283)
OKLCHoklch(58.8% 0.207 321.7)
XYZxyz(30.4509, 17.7083, 54.0279)
Luminance0.1771 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B245C4 #57C445
analogous
#7345C4 #B245C4 #C44597
triadic
#B245C4 #C4B245 #45C4B2
tetradic
#B245C4 #C47345 #57C445 #4597C4
square
#B245C4 #C47345 #57C445 #4597C4
split-complementary
#B245C4 #97C445 #45C473
monochromatic
#62226C #8C319B #B245C4 #C573D3 #D8A2E1

Accessibility & contrast

On white

4.62
#B245C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#B245C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B245C4
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B245C4#FFFFFF#000000##FFFFFF
##B245C41.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#246DC8
Deuteranopia (green-blind)
#5479C1
Tritanopia (blue-blind)
#B45A7F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b245c4;
/* rgb */ color: rgb(178, 69, 196);
/* oklch */ color: oklch(58.8% 0.207 321.7);
Tailwind
colors: {
  custom: {
    50: '#cc80d6',
    500: '#b245c4',
    950: '#000000',
  },
}
SCSS
$custom: #b245c4;
$custom-light: #cc80d6;
$custom-dark: #000000;
JSON
{
  "hex": "#b245c4",
  "rgb": {
    "r": 178,
    "g": 69,
    "b": 196
  },
  "hsl": {
    "h": 291.496,
    "s": 51.837,
    "l": 51.961
  },
  "oklch": {
    "l": 0.588,
    "c": 0.2071,
    "h": 321.7
  },
  "luminance": 0.17707
}

Semantic roles & 50–950 ramp

primary
#B245C4
secondary
#9ECE97
accent
#DB4D61
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B245C4

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

Preview Lab → · Contrast checker → · Palette generator →

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