#B952F5#B952F5

#B952F5 is a light, highly saturated violet. Relative luminance 0.229; OKLCH L 64.2% C 0.239 H 310.4°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#B952F5
RGBrgb(185, 82, 245)
HSLhsl(278, 89%, 64%)
HSVhsv(278, 67%, 96%)
CMYKcmyk(24.5%, 66.5%, 0%, 3.9%)
CIE-LABlab(55.01, 67.05, -64.36)
CIE-LCHlch(55.01, 92.94, 316.17°)
OKLaboklab(64.16% 0.1546 -0.1819)
OKLCHoklch(64.16% 0.239 310.4)
XYZxyz(39.5031, 22.9423, 88.7158)
Luminance0.2294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B952F5 #8EF552
analogous
#6852F5 #B952F5 #F552E0
triadic
#B952F5 #F5B952 #52F5B9
tetradic
#B952F5 #F56852 #8EF552 #52E0F5
square
#B952F5 #F56852 #8EF552 #52E0F5
split-complementary
#B952F5 #E0F552 #52F568
monochromatic
#7E0BC1 #A218F2 #B952F5 #D08CF8 #E8C6FC

Accessibility & contrast

On white

3.76
#B952F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#B952F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B952F5
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B952F5#FFFFFF#000000##000000
##B952F51.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFA
Deuteranopia (green-blind)
#3A85F1
Tritanopia (blue-blind)
#B1749D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b952f5;
/* rgb */ color: rgb(185, 82, 245);
/* oklch */ color: oklch(64.2% 0.239 310.4);
Tailwind
colors: {
  custom: {
    50: '#d28af9',
    500: '#b952f5',
    950: '#000000',
  },
}
SCSS
$custom: #b952f5;
$custom-light: #d28af9;
$custom-dark: #000000;
JSON
{
  "hex": "#b952f5",
  "rgb": {
    "r": 185,
    "g": 82,
    "b": 245
  },
  "hsl": {
    "h": 277.914,
    "s": 89.071,
    "l": 64.118
  },
  "oklch": {
    "l": 0.64157,
    "c": 0.23869,
    "h": 310.4
  },
  "luminance": 0.22941
}

Semantic roles & 50–950 ramp

primary
#B952F5
secondary
#CAEEB5
accent
#E60054
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #B952F5

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

Preview Lab → · Contrast checker → · Palette generator →

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