#B247E4#B247E4

#B247E4 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 61.0% C 0.234 H 312.8°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#B247E4
RGBrgb(178, 71, 228)
HSLhsl(281, 74%, 59%)
HSVhsv(281, 69%, 89%)
CMYKcmyk(21.9%, 68.9%, 0%, 10.6%)
CIE-LABlab(51.35, 66.75, -60.77)
CIE-LCHlch(51.35, 90.27, 317.68°)
OKLaboklab(61% 0.1589 -0.1715)
OKLCHoklch(61% 0.234 312.8)
XYZxyz(34.6144, 19.5739, 75.3385)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B247E4 #79E447
analogous
#6347E4 #B247E4 #E447C7
triadic
#B247E4 #E4B247 #47E4B2
tetradic
#B247E4 #E46347 #79E447 #47C7E4
square
#B247E4 #E46347 #79E447 #47C7E4
split-complementary
#B247E4 #C7E447 #47E463
monochromatic
#70179A #971ECF #B247E4 #C87CEC #DFB2F4

Accessibility & contrast

On white

4.27
#B247E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#B247E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B247E4
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B247E4#FFFFFF#000000##000000
##B247E41.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E9
Deuteranopia (green-blind)
#397DE0
Tritanopia (blue-blind)
#AD6891
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b247e4;
/* rgb */ color: rgb(178, 71, 228);
/* oklch */ color: oklch(61.0% 0.234 312.8);
Tailwind
colors: {
  custom: {
    50: '#cd82ed',
    500: '#b247e4',
    950: '#000000',
  },
}
SCSS
$custom: #b247e4;
$custom-light: #cd82ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b247e4",
  "rgb": {
    "r": 178,
    "g": 71,
    "b": 228
  },
  "hsl": {
    "h": 280.892,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.61001,
    "c": 0.23376,
    "h": 312.8
  },
  "luminance": 0.19573
}

Semantic roles & 50–950 ramp

primary
#B247E4
secondary
#B8E2A4
accent
#F13772
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B247E4

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

Preview Lab → · Contrast checker → · Palette generator →

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