#B249B7#B249B7

#B249B7 is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.5% C 0.190 H 325.8°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#B249B7
RGBrgb(178, 73, 183)
HSLhsl(297, 43%, 50%)
HSVhsv(297, 60%, 72%)
CMYKcmyk(2.7%, 60.1%, 0%, 28.2%)
CIE-LABlab(49.07, 57.25, -38.59)
CIE-LCHlch(49.07, 69.04, 326.02°)
OKLaboklab(58.52% 0.1573 -0.1067)
OKLCHoklch(58.52% 0.19 325.8)
XYZxyz(29.2893, 17.6507, 46.6548)
Luminance0.1765 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B249B7 #4EB749
analogous
#7B49B7 #B249B7 #B74985
triadic
#B249B7 #B7B249 #49B7B2
tetradic
#B249B7 #B77B49 #4EB749 #4985B7
square
#B249B7 #B77B49 #4EB749 #4985B7
split-complementary
#B249B7 #85B749 #49B77B
monochromatic
#5D2660 #88378C #B249B7 #C575C8 #D7A1DA

Accessibility & contrast

On white

4.64
#B249B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#B249B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B249B7
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B249B7#FFFFFF#000000##FFFFFF
##B249B71.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396CBA
Deuteranopia (green-blind)
#5E79B4
Tritanopia (blue-blind)
#B65879
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b249b7;
/* rgb */ color: rgb(178, 73, 183);
/* oklch */ color: oklch(58.5% 0.190 325.8);
Tailwind
colors: {
  custom: {
    50: '#cc82cd',
    500: '#b249b7',
    950: '#000000',
  },
}
SCSS
$custom: #b249b7;
$custom-light: #cc82cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b249b7",
  "rgb": {
    "r": 178,
    "g": 73,
    "b": 183
  },
  "hsl": {
    "h": 297.273,
    "s": 43.307,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58523,
    "c": 0.19011,
    "h": 325.8
  },
  "luminance": 0.17649
}

Semantic roles & 50–950 ramp

primary
#B249B7
secondary
#98C695
accent
#D3555A
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B13
muted
#827C82

Preview Lab

Preview with #B249B7

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

Preview Lab → · Contrast checker → · Palette generator →

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