#B249B2#B249B2

#B249B2 is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.3% C 0.186 H 327.6°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#B249B2
RGBrgb(178, 73, 178)
HSLhsl(300, 42%, 49%)
HSVhsv(300, 59%, 70%)
CMYKcmyk(0%, 59%, 0%, 30.2%)
CIE-LABlab(48.82, 56.36, -36.07)
CIE-LCHlch(48.82, 66.91, 327.38°)
OKLaboklab(58.26% 0.1569 -0.0994)
OKLCHoklch(58.26% 0.186 327.6)
XYZxyz(28.7781, 17.4462, 43.9625)
Luminance0.1744 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B249B2 #49B249
analogous
#7E49B2 #B249B2 #B2497E
triadic
#B249B2 #B2B249 #49B2B2
tetradic
#B249B2 #B27E49 #49B249 #497EB2
square
#B249B2 #B27E49 #49B249 #497EB2
split-complementary
#B249B2 #7EB249 #49B27E
monochromatic
#5B255B #873787 #B249B2 #C573C5 #D79ED7

Accessibility & contrast

On white

4.68
#B249B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#B249B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B249B2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B249B2#FFFFFF#000000##FFFFFF
##B249B21.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6BB5
Deuteranopia (green-blind)
#6179AF
Tritanopia (blue-blind)
#B75677
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b249b2;
/* rgb */ color: rgb(178, 73, 178);
/* oklch */ color: oklch(58.3% 0.186 327.6);
Tailwind
colors: {
  custom: {
    50: '#cc82c9',
    500: '#b249b2',
    950: '#000000',
  },
}
SCSS
$custom: #b249b2;
$custom-light: #cc82c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b249b2",
  "rgb": {
    "r": 178,
    "g": 73,
    "b": 178
  },
  "hsl": {
    "h": 300,
    "s": 41.833,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58258,
    "c": 0.18577,
    "h": 327.6
  },
  "luminance": 0.17444
}

Semantic roles & 50–950 ramp

primary
#B249B2
secondary
#93C493
accent
#D25656
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B249B2

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

Preview Lab → · Contrast checker → · Palette generator →

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