#B245AA#B245AA

#B245AA is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.4% C 0.185 H 330.7°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#B245AA
RGBrgb(178, 69, 170)
HSLhsl(304, 44%, 48%)
HSVhsv(304, 61%, 70%)
CMYKcmyk(0%, 61.2%, 4.5%, 30.2%)
CIE-LABlab(47.78, 56.74, -32.99)
CIE-LCHlch(47.78, 65.64, 329.82°)
OKLaboklab(57.38% 0.1611 -0.0905)
OKLCHoklch(57.38% 0.185 330.7)
XYZxyz(27.7438, 16.6255, 39.7702)
Luminance0.1662 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B245AA #45B24D
analogous
#8345B2 #B245AA #B24573
triadic
#B245AA #AAB245 #45AAB2
tetradic
#B245AA #B28345 #45B24D #4573B2
square
#B245AA #B28345 #45B24D #4573B2
split-complementary
#B245AA #73B245 #45B283
monochromatic
#5A2356 #863480 #B245AA #C76EC0 #D89AD3

Accessibility & contrast

On white

4.86
#B245AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#B245AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B245AA
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B245AA#FFFFFF#000000##FFFFFF
##B245AA1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E68AD
Deuteranopia (green-blind)
#6277A7
Tritanopia (blue-blind)
#B95071
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b245aa;
/* rgb */ color: rgb(178, 69, 170);
/* oklch */ color: oklch(57.4% 0.185 330.7);
Tailwind
colors: {
  custom: {
    50: '#cc80c3',
    500: '#b245aa',
    950: '#000000',
  },
}
SCSS
$custom: #b245aa;
$custom-light: #cc80c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b245aa",
  "rgb": {
    "r": 178,
    "g": 69,
    "b": 170
  },
  "hsl": {
    "h": 304.404,
    "s": 44.13,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57377,
    "c": 0.1848,
    "h": 330.7
  },
  "luminance": 0.16624
}

Semantic roles & 50–950 ramp

primary
#B245AA
secondary
#8FC493
accent
#D45D54
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B12
muted
#827C81

Preview Lab

Preview with #B245AA

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

Preview Lab → · Contrast checker → · Palette generator →

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