#B241AF#B241AF

#B241AF is a mid, vivid purple. Relative luminance 0.163; OKLCH L 57.2% C 0.194 H 328.8°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#B241AF
RGBrgb(178, 65, 175)
HSLhsl(302, 47%, 48%)
HSVhsv(302, 63%, 70%)
CMYKcmyk(0%, 63.5%, 1.7%, 30.2%)
CIE-LABlab(47.42, 59.28, -36.51)
CIE-LCHlch(47.42, 69.62, 328.37°)
OKLaboklab(57.19% 0.1664 -0.1006)
OKLCHoklch(57.19% 0.194 328.8)
XYZxyz(27.9880, 16.3426, 42.2294)
Luminance0.1634 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B241AF #41B244
analogous
#7C41B2 #B241AF #B24176
triadic
#B241AF #AFB241 #41AFB2
tetradic
#B241AF #B27C41 #41B244 #4176B2
square
#B241AF #B27C41 #41B244 #4176B2
split-complementary
#B241AF #76B241 #41B27C
monochromatic
#582057 #853183 #B241AF #C868C5 #D895D7

Accessibility & contrast

On white

4.92
#B241AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#B241AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B241AF
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B241AF#FFFFFF#000000##FFFFFF
##B241AF1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3567B2
Deuteranopia (green-blind)
#5E76AC
Tritanopia (blue-blind)
#B84F72
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b241af;
/* rgb */ color: rgb(178, 65, 175);
/* oklch */ color: oklch(57.2% 0.194 328.8);
Tailwind
colors: {
  custom: {
    50: '#cc7ec7',
    500: '#b241af',
    950: '#000000',
  },
}
SCSS
$custom: #b241af;
$custom-light: #cc7ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#b241af",
  "rgb": {
    "r": 178,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 301.593,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57193,
    "c": 0.19447,
    "h": 328.8
  },
  "luminance": 0.16341
}

Semantic roles & 50–950 ramp

primary
#B241AF
secondary
#8BC48C
accent
#D65552
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140A13
muted
#827C82

Preview Lab

Preview with #B241AF

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

Preview Lab → · Contrast checker → · Palette generator →

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