#B52FC9#B52FC9

#B52FC9 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.5% C 0.238 H 322.1°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B52FC9
RGBrgb(181, 47, 201)
HSLhsl(292, 62%, 49%)
HSVhsv(292, 77%, 79%)
CMYKcmyk(10%, 76.6%, 0%, 21.2%)
CIE-LABlab(47.07, 70.87, -52.19)
CIE-LCHlch(47.07, 88.02, 323.63°)
OKLaboklab(57.51% 0.1873 -0.1461)
OKLCHoklch(57.51% 0.238 322.1)
XYZxyz(30.6141, 16.0756, 56.7374)
Luminance0.1607 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52FC9 #43C92F
analogous
#682FC9 #B52FC9 #C92F90
triadic
#B52FC9 #C9B52F #2FC9B5
tetradic
#B52FC9 #C9682F #43C92F #2F90C9
square
#B52FC9 #C9682F #43C92F #2F90C9
split-complementary
#B52FC9 #90C92F #2FC968
monochromatic
#5C1866 #882397 #B52FC9 #C95CD9 #D98EE5

Accessibility & contrast

On white

4.98
#B52FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#B52FC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52FC9
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52FC9#FFFFFF#000000##FFFFFF
##B52FC91.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CD
Deuteranopia (green-blind)
#4674C6
Tritanopia (blue-blind)
#B74E7B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b52fc9;
/* rgb */ color: rgb(181, 47, 201);
/* oklch */ color: oklch(57.5% 0.238 322.1);
Tailwind
colors: {
  custom: {
    50: '#cf77da',
    500: '#b52fc9',
    950: '#000000',
  },
}
SCSS
$custom: #b52fc9;
$custom-light: #cf77da;
$custom-dark: #000000;
JSON
{
  "hex": "#b52fc9",
  "rgb": {
    "r": 181,
    "g": 47,
    "b": 201
  },
  "hsl": {
    "h": 292.208,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57506,
    "c": 0.23755,
    "h": 322.1
  },
  "luminance": 0.16074
}

Semantic roles & 50–950 ramp

primary
#B52FC9
secondary
#8FCF85
accent
#E54358
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B52FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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