#B247B7#B247B7

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

Color values

HEX#B247B7
RGBrgb(178, 71, 183)
HSLhsl(297, 44%, 50%)
HSVhsv(297, 61%, 72%)
CMYKcmyk(2.7%, 61.2%, 0%, 28.2%)
CIE-LABlab(48.75, 58.13, -39.09)
CIE-LCHlch(48.75, 70.05, 326.08°)
OKLaboklab(58.29% 0.1598 -0.1082)
OKLCHoklch(58.29% 0.193 325.9)
XYZxyz(29.1600, 17.3921, 46.6117)
Luminance0.1739 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B247B7 #4CB747
analogous
#7A47B7 #B247B7 #B74784
triadic
#B247B7 #B7B247 #47B7B2
tetradic
#B247B7 #B77A47 #4CB747 #4784B7
square
#B247B7 #B77A47 #4CB747 #4784B7
split-complementary
#B247B7 #84B747 #47B77A
monochromatic
#5C255F #87368B #B247B7 #C573C9 #D79FDA

Accessibility & contrast

On white

4.69
#B247B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#B247B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B247B7
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B247B7#FFFFFF#000000##FFFFFF
##B247B71.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366BBA
Deuteranopia (green-blind)
#5D79B4
Tritanopia (blue-blind)
#B65679
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b247b7;
/* rgb */ color: rgb(178, 71, 183);
/* oklch */ color: oklch(58.3% 0.193 325.9);
Tailwind
colors: {
  custom: {
    50: '#cc81cd',
    500: '#b247b7',
    950: '#000000',
  },
}
SCSS
$custom: #b247b7;
$custom-light: #cc81cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b247b7",
  "rgb": {
    "r": 178,
    "g": 71,
    "b": 183
  },
  "hsl": {
    "h": 297.321,
    "s": 44.094,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58291,
    "c": 0.19295,
    "h": 325.9
  },
  "luminance": 0.1739
}

Semantic roles & 50–950 ramp

primary
#B247B7
secondary
#96C694
accent
#D4545A
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B13
muted
#827C82

Preview Lab

Preview with #B247B7

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

Preview Lab → · Contrast checker → · Palette generator →

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