#B247E8#B247E8

#B247E8 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 61.3% C 0.237 H 311.9°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#B247E8
RGBrgb(178, 71, 232)
HSLhsl(280, 78%, 59%)
HSVhsv(280, 69%, 91%)
CMYKcmyk(23.3%, 69.4%, 0%, 9%)
CIE-LABlab(51.61, 67.57, -62.61)
CIE-LCHlch(51.61, 92.12, 317.18°)
OKLaboklab(61.27% 0.1585 -0.1769)
OKLCHoklch(61.27% 0.237 311.9)
XYZxyz(35.1761, 19.7986, 78.2968)
Luminance0.1980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B247E8 #7DE847
analogous
#6247E8 #B247E8 #E847CD
triadic
#B247E8 #E8B247 #47E8B2
tetradic
#B247E8 #E86247 #7DE847 #47CDE8
square
#B247E8 #E86247 #7DE847 #47CDE8
split-complementary
#B247E8 #CDE847 #47E862
monochromatic
#7114A1 #981BD7 #B247E8 #C97DEF #E0B4F6

Accessibility & contrast

On white

4.23
#B247E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#B247E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B247E8
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B247E8#FFFFFF#000000##000000
##B247E81.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076ED
Deuteranopia (green-blind)
#347DE4
Tritanopia (blue-blind)
#AB6A93
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b247e8;
/* rgb */ color: rgb(178, 71, 232);
/* oklch */ color: oklch(61.3% 0.237 311.9);
Tailwind
colors: {
  custom: {
    50: '#ce83f0',
    500: '#b247e8',
    950: '#000000',
  },
}
SCSS
$custom: #b247e8;
$custom-light: #ce83f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b247e8",
  "rgb": {
    "r": 178,
    "g": 71,
    "b": 232
  },
  "hsl": {
    "h": 279.876,
    "s": 77.778,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61266,
    "c": 0.23749,
    "h": 311.9
  },
  "luminance": 0.19798
}

Semantic roles & 50–950 ramp

primary
#B247E8
secondary
#BBE5A6
accent
#F43474
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B17
muted
#837C85

Preview Lab

Preview with #B247E8

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

Preview Lab → · Contrast checker → · Palette generator →

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