#B245C3#B245C3

#B245C3 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 58.7% C 0.206 H 322.0°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#B245C3
RGBrgb(178, 69, 195)
HSLhsl(292, 51%, 52%)
HSVhsv(292, 65%, 76%)
CMYKcmyk(8.7%, 64.6%, 0%, 23.5%)
CIE-LABlab(49.08, 61.17, -45.54)
CIE-LCHlch(49.08, 76.26, 323.33°)
OKLaboklab(58.74% 0.1626 -0.1269)
OKLCHoklch(58.74% 0.206 322)
XYZxyz(30.3375, 17.6629, 53.4305)
Luminance0.1766 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B245C3 #56C345
analogous
#7345C3 #B245C3 #C34595
triadic
#B245C3 #C3B245 #45C3B2
tetradic
#B245C3 #C37345 #56C345 #4595C3
square
#B245C3 #C37345 #56C345 #4595C3
split-complementary
#B245C3 #95C345 #45C373
monochromatic
#61236B #8B3199 #B245C3 #C573D2 #D8A2E1

Accessibility & contrast

On white

4.63
#B245C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#B245C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B245C3
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B245C3#FFFFFF#000000##FFFFFF
##B245C31.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256DC7
Deuteranopia (green-blind)
#5579C0
Tritanopia (blue-blind)
#B4597E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b245c3;
/* rgb */ color: rgb(178, 69, 195);
/* oklch */ color: oklch(58.7% 0.206 322.0);
Tailwind
colors: {
  custom: {
    50: '#cc80d6',
    500: '#b245c3',
    950: '#000000',
  },
}
SCSS
$custom: #b245c3;
$custom-light: #cc80d6;
$custom-dark: #000000;
JSON
{
  "hex": "#b245c3",
  "rgb": {
    "r": 178,
    "g": 69,
    "b": 195
  },
  "hsl": {
    "h": 291.905,
    "s": 51.22,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58742,
    "c": 0.20621,
    "h": 322
  },
  "luminance": 0.17661
}

Semantic roles & 50–950 ramp

primary
#B245C3
secondary
#9ECE96
accent
#DB4D60
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B245C3

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

Preview Lab → · Contrast checker → · Palette generator →

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