#B952E5#B952E5

#B952E5 is a light, highly saturated purple. Relative luminance 0.220; OKLCH L 63.1% C 0.223 H 314.2°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#B952E5
RGBrgb(185, 82, 229)
HSLhsl(282, 74%, 61%)
HSVhsv(282, 64%, 90%)
CMYKcmyk(19.2%, 64.2%, 0%, 10.2%)
CIE-LABlab(54.03, 63.75, -56.98)
CIE-LCHlch(54.03, 85.50, 318.21°)
OKLaboklab(63.14% 0.1556 -0.1602)
OKLCHoklch(63.14% 0.223 314.2)
XYZxyz(37.1654, 22.0072, 76.4036)
Luminance0.2201 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B952E5 #7EE552
analogous
#6F52E5 #B952E5 #E552C7
triadic
#B952E5 #E5B952 #52E5B9
tetradic
#B952E5 #E56F52 #7EE552 #52C7E5
square
#B952E5 #E56F52 #7EE552 #52C7E5
split-complementary
#B952E5 #C7E552 #52E56F
monochromatic
#7A19A4 #A221D9 #B952E5 #CF87ED #E4BCF5

Accessibility & contrast

On white

3.89
#B952E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#B952E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B952E5
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B952E5#FFFFFF#000000##000000
##B952E51.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#077BE9
Deuteranopia (green-blind)
#4C84E2
Tritanopia (blue-blind)
#B56E95
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b952e5;
/* rgb */ color: rgb(185, 82, 229);
/* oklch */ color: oklch(63.1% 0.223 314.2);
Tailwind
colors: {
  custom: {
    50: '#d289ee',
    500: '#b952e5',
    950: '#000000',
  },
}
SCSS
$custom: #b952e5;
$custom-light: #d289ee;
$custom-dark: #000000;
JSON
{
  "hex": "#b952e5",
  "rgb": {
    "r": 185,
    "g": 82,
    "b": 229
  },
  "hsl": {
    "h": 282.041,
    "s": 73.869,
    "l": 60.98
  },
  "oklch": {
    "l": 0.63141,
    "c": 0.22332,
    "h": 314.2
  },
  "luminance": 0.22006
}

Semantic roles & 50–950 ramp

primary
#B952E5
secondary
#BEE5AE
accent
#D6104B
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B952E5

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

Preview Lab → · Contrast checker → · Palette generator →

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