#B247E0#B247E0

#B247E0 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.7% C 0.230 H 313.8°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B247E0
RGBrgb(178, 71, 224)
HSLhsl(282, 71%, 58%)
HSVhsv(282, 68%, 88%)
CMYKcmyk(20.5%, 68.3%, 0%, 12.2%)
CIE-LABlab(51.10, 65.94, -58.91)
CIE-LCHlch(51.10, 88.43, 318.22°)
OKLaboklab(60.74% 0.1592 -0.166)
OKLCHoklch(60.74% 0.23 313.8)
XYZxyz(34.0656, 19.3544, 72.4478)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B247E0 #75E047
analogous
#6547E0 #B247E0 #E047C1
triadic
#B247E0 #E0B247 #47E0B2
tetradic
#B247E0 #E06547 #75E047 #47C1E0
square
#B247E0 #E06547 #75E047 #47C1E0
split-complementary
#B247E0 #C1E047 #47E065
monochromatic
#6F1994 #9622C8 #B247E0 #C87BE9 #DEB0F2

Accessibility & contrast

On white

4.31
#B247E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#B247E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B247E0
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B247E0#FFFFFF#000000##000000
##B247E01.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E4
Deuteranopia (green-blind)
#3E7CDD
Tritanopia (blue-blind)
#AE668E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b247e0;
/* rgb */ color: rgb(178, 71, 224);
/* oklch */ color: oklch(60.7% 0.230 313.8);
Tailwind
colors: {
  custom: {
    50: '#cd82ea',
    500: '#b247e0',
    950: '#000000',
  },
}
SCSS
$custom: #b247e0;
$custom-light: #cd82ea;
$custom-dark: #000000;
JSON
{
  "hex": "#b247e0",
  "rgb": {
    "r": 178,
    "g": 71,
    "b": 224
  },
  "hsl": {
    "h": 281.961,
    "s": 71.163,
    "l": 57.843
  },
  "oklch": {
    "l": 0.6074,
    "c": 0.23004,
    "h": 313.8
  },
  "luminance": 0.19353
}

Semantic roles & 50–950 ramp

primary
#B247E0
secondary
#B5E0A3
accent
#EE3A70
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B247E0

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

Preview Lab → · Contrast checker → · Palette generator →

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