#B247C8#B247C8

#B247C8 is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.3% C 0.208 H 320.4°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#B247C8
RGBrgb(178, 71, 200)
HSLhsl(290, 54%, 53%)
HSVhsv(290, 65%, 78%)
CMYKcmyk(11%, 64.5%, 0%, 21.6%)
CIE-LABlab(49.67, 61.26, -47.49)
CIE-LCHlch(49.67, 77.51, 322.21°)
OKLaboklab(59.25% 0.1603 -0.1326)
OKLCHoklch(59.25% 0.208 320.4)
XYZxyz(31.0374, 18.1431, 56.4995)
Luminance0.1814 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B247C8 #5DC847
analogous
#7147C8 #B247C8 #C8479E
triadic
#B247C8 #C8B247 #47C8B2
tetradic
#B247C8 #C87147 #5DC847 #479EC8
square
#B247C8 #C87147 #5DC847 #479EC8
split-complementary
#B247C8 #9EC847 #47C871
monochromatic
#652272 #8E30A2 #B247C8 #C676D6 #D9A5E4

Accessibility & contrast

On white

4.54
#B247C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#B247C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B247C8
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B247C8#FFFFFF#000000##000000
##B247C81.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#226FCC
Deuteranopia (green-blind)
#537AC5
Tritanopia (blue-blind)
#B35D81
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b247c8;
/* rgb */ color: rgb(178, 71, 200);
/* oklch */ color: oklch(59.3% 0.208 320.4);
Tailwind
colors: {
  custom: {
    50: '#cc82d9',
    500: '#b247c8',
    950: '#000000',
  },
}
SCSS
$custom: #b247c8;
$custom-light: #cc82d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b247c8",
  "rgb": {
    "r": 178,
    "g": 71,
    "b": 200
  },
  "hsl": {
    "h": 289.767,
    "s": 53.975,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59254,
    "c": 0.20804,
    "h": 320.4
  },
  "luminance": 0.18142
}

Semantic roles & 50–950 ramp

primary
#B247C8
secondary
#A3D19A
accent
#DD4A64
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B15
muted
#827C83

Preview Lab

Preview with #B247C8

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

Preview Lab → · Contrast checker → · Palette generator →

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