#B952CF#B952CF

#B952CF is a mid, highly saturated purple. Relative luminance 0.209; OKLCH L 61.8% C 0.203 H 320.2°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#B952CF
RGBrgb(185, 82, 207)
HSLhsl(289, 57%, 57%)
HSVhsv(289, 60%, 81%)
CMYKcmyk(10.6%, 60.4%, 0%, 18.8%)
CIE-LABlab(52.79, 59.42, -46.48)
CIE-LCHlch(52.79, 75.44, 321.96°)
OKLaboklab(61.84% 0.1557 -0.1295)
OKLCHoklch(61.84% 0.203 320.2)
XYZxyz(34.2860, 20.8554, 61.2389)
Luminance0.2085 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B952CF #68CF52
analogous
#7B52CF #B952CF #CF52A7
triadic
#B952CF #CFB952 #52CFB9
tetradic
#B952CF #CF7B52 #68CF52 #52A7CF
square
#B952CF #CF7B52 #68CF52 #52A7CF
split-complementary
#B952CF #A7CF52 #52CF7B
monochromatic
#722482 #9C31B2 #B952CF #CC82DC #E0B2EA

Accessibility & contrast

On white

4.06
#B952CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#B952CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B952CF
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B952CF#FFFFFF#000000##000000
##B952CF1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3477D3
Deuteranopia (green-blind)
#5D82CC
Tritanopia (blue-blind)
#BA6689
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b952cf;
/* rgb */ color: rgb(185, 82, 207);
/* oklch */ color: oklch(61.8% 0.203 320.2);
Tailwind
colors: {
  custom: {
    50: '#d188de',
    500: '#b952cf',
    950: '#000000',
  },
}
SCSS
$custom: #b952cf;
$custom-light: #d188de;
$custom-dark: #000000;
JSON
{
  "hex": "#b952cf",
  "rgb": {
    "r": 185,
    "g": 82,
    "b": 207
  },
  "hsl": {
    "h": 289.44,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.6184,
    "c": 0.2025,
    "h": 320.2
  },
  "luminance": 0.20854
}

Semantic roles & 50–950 ramp

primary
#B952CF
secondary
#AED8A5
accent
#E04863
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B952CF

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

Preview Lab → · Contrast checker → · Palette generator →

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