#B247CA#B247CA

#B247CA is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.4% C 0.210 H 319.8°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#B247CA
RGBrgb(178, 71, 202)
HSLhsl(289, 55%, 54%)
HSVhsv(289, 65%, 79%)
CMYKcmyk(11.9%, 64.9%, 0%, 20.8%)
CIE-LABlab(49.78, 61.63, -48.46)
CIE-LCHlch(49.78, 78.41, 321.82°)
OKLaboklab(59.37% 0.1603 -0.1354)
OKLCHoklch(59.37% 0.21 319.8)
XYZxyz(31.2727, 18.2372, 57.7385)
Luminance0.1824 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B247CA #5FCA47
analogous
#7047CA #B247CA #CA47A0
triadic
#B247CA #CAB247 #47CAB2
tetradic
#B247CA #CA7047 #5FCA47 #47A0CA
square
#B247CA #CA7047 #5FCA47 #47A0CA
split-complementary
#B247CA #A0CA47 #47CA70
monochromatic
#662275 #8F2FA4 #B247CA #C677D8 #DAA6E5

Accessibility & contrast

On white

4.52
#B247CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#B247CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B247CA
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B247CA#FFFFFF#000000##000000
##B247CA1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E6FCE
Deuteranopia (green-blind)
#517AC7
Tritanopia (blue-blind)
#B35E83
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b247ca;
/* rgb */ color: rgb(178, 71, 202);
/* oklch */ color: oklch(59.4% 0.210 319.8);
Tailwind
colors: {
  custom: {
    50: '#cc82db',
    500: '#b247ca',
    950: '#000000',
  },
}
SCSS
$custom: #b247ca;
$custom-light: #cc82db;
$custom-dark: #000000;
JSON
{
  "hex": "#b247ca",
  "rgb": {
    "r": 178,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 289.008,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59372,
    "c": 0.20984,
    "h": 319.8
  },
  "luminance": 0.18236
}

Semantic roles & 50–950 ramp

primary
#B247CA
secondary
#A5D29A
accent
#DF4965
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B247CA

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

Preview Lab → · Contrast checker → · Palette generator →

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