#B241AA#B241AA

#B241AA is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.9% C 0.190 H 330.7°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#B241AA
RGBrgb(178, 65, 170)
HSLhsl(304, 47%, 48%)
HSVhsv(304, 63%, 70%)
CMYKcmyk(0%, 63.5%, 4.5%, 30.2%)
CIE-LABlab(47.17, 58.44, -33.96)
CIE-LCHlch(47.17, 67.59, 329.84°)
OKLaboklab(56.93% 0.166 -0.0933)
OKLCHoklch(56.93% 0.19 330.7)
XYZxyz(27.5060, 16.1498, 39.6909)
Luminance0.1615 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B241AA #41B249
analogous
#8241B2 #B241AA #B24171
triadic
#B241AA #AAB241 #41AAB2
tetradic
#B241AA #B28241 #41B249 #4171B2
square
#B241AA #B28241 #41B249 #4171B2
split-complementary
#B241AA #71B241 #41B282
monochromatic
#582054 #85317F #B241AA #C868C1 #D895D4

Accessibility & contrast

On white

4.97
#B241AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#B241AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B241AA
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B241AA#FFFFFF#000000##FFFFFF
##B241AA1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3966AD
Deuteranopia (green-blind)
#6075A7
Tritanopia (blue-blind)
#B94D70
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b241aa;
/* rgb */ color: rgb(178, 65, 170);
/* oklch */ color: oklch(56.9% 0.190 330.7);
Tailwind
colors: {
  custom: {
    50: '#cc7ec3',
    500: '#b241aa',
    950: '#000000',
  },
}
SCSS
$custom: #b241aa;
$custom-light: #cc7ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#b241aa",
  "rgb": {
    "r": 178,
    "g": 65,
    "b": 170
  },
  "hsl": {
    "h": 304.248,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.5693,
    "c": 0.1904,
    "h": 330.7
  },
  "luminance": 0.16148
}

Semantic roles & 50–950 ramp

primary
#B241AA
secondary
#8BC48F
accent
#D65B52
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140A12
muted
#827C81

Preview Lab

Preview with #B241AA

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

Preview Lab → · Contrast checker → · Palette generator →

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