#B952F3#B952F3

#B952F3 is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 64.0% C 0.237 H 310.8°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#B952F3
RGBrgb(185, 82, 243)
HSLhsl(278, 87%, 64%)
HSVhsv(278, 66%, 95%)
CMYKcmyk(23.9%, 66.3%, 0%, 4.7%)
CIE-LABlab(54.89, 66.63, -63.45)
CIE-LCHlch(54.89, 92.01, 316.40°)
OKLaboklab(64.03% 0.1548 -0.1792)
OKLCHoklch(64.03% 0.237 310.8)
XYZxyz(39.1995, 22.8208, 87.1165)
Luminance0.2282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B952F3 #8CF352
analogous
#6852F3 #B952F3 #F352DC
triadic
#B952F3 #F3B952 #52F3B9
tetradic
#B952F3 #F36852 #8CF352 #52DCF3
square
#B952F3 #F36852 #8CF352 #52DCF3
split-complementary
#B952F3 #DCF352 #52F368
monochromatic
#7E0DBD #A219EF #B952F3 #D08BF7 #E7C4FB

Accessibility & contrast

On white

3.77
#B952F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#B952F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B952F3
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B952F3#FFFFFF#000000##000000
##B952F31.003.775.565.56
#FFFFFF3.771.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF8
Deuteranopia (green-blind)
#3D85EF
Tritanopia (blue-blind)
#B1739C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b952f3;
/* rgb */ color: rgb(185, 82, 243);
/* oklch */ color: oklch(64.0% 0.237 310.8);
Tailwind
colors: {
  custom: {
    50: '#d289f8',
    500: '#b952f3',
    950: '#000000',
  },
}
SCSS
$custom: #b952f3;
$custom-light: #d289f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b952f3",
  "rgb": {
    "r": 185,
    "g": 82,
    "b": 243
  },
  "hsl": {
    "h": 278.385,
    "s": 87.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.64027,
    "c": 0.23676,
    "h": 310.8
  },
  "luminance": 0.2282
}

Semantic roles & 50–950 ramp

primary
#B952F3
secondary
#C8EDB4
accent
#E40253
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #B952F3

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

Preview Lab → · Contrast checker → · Palette generator →

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