#B242B9#B242B9

#B242B9 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 57.8% C 0.202 H 325.4°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#B242B9
RGBrgb(178, 66, 185)
HSLhsl(296, 47%, 49%)
HSVhsv(296, 64%, 73%)
CMYKcmyk(3.8%, 64.3%, 0%, 27.5%)
CIE-LABlab(48.09, 60.60, -41.30)
CIE-LCHlch(48.09, 73.34, 325.72°)
OKLaboklab(57.85% 0.1658 -0.1145)
OKLCHoklch(57.85% 0.202 325.4)
XYZxyz(29.0646, 16.8660, 47.6141)
Luminance0.1686 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B242B9 #49B942
analogous
#7742B9 #B242B9 #B94284
triadic
#B242B9 #B9B242 #42B9B2
tetradic
#B242B9 #B97742 #49B942 #4284B9
square
#B242B9 #B97742 #49B942 #4284B9
split-complementary
#B242B9 #84B942 #42B977
monochromatic
#5B225F #87328C #B242B9 #C56DCB #D79ADB

Accessibility & contrast

On white

4.80
#B242B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#B242B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B242B9
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B242B9#FFFFFF#000000##FFFFFF
##B242B91.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D69BD
Deuteranopia (green-blind)
#5977B6
Tritanopia (blue-blind)
#B65378
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b242b9;
/* rgb */ color: rgb(178, 66, 185);
/* oklch */ color: oklch(57.8% 0.202 325.4);
Tailwind
colors: {
  custom: {
    50: '#cc7ece',
    500: '#b242b9',
    950: '#000000',
  },
}
SCSS
$custom: #b242b9;
$custom-light: #cc7ece;
$custom-dark: #000000;
JSON
{
  "hex": "#b242b9",
  "rgb": {
    "r": 178,
    "g": 66,
    "b": 185
  },
  "hsl": {
    "h": 296.471,
    "s": 47.41,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57847,
    "c": 0.2015,
    "h": 325.4
  },
  "luminance": 0.16864
}

Semantic roles & 50–950 ramp

primary
#B242B9
secondary
#93C790
accent
#D75159
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B242B9

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

Preview Lab → · Contrast checker → · Palette generator →

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