#B952F4#B952F4

#B952F4 is a light, highly saturated violet. Relative luminance 0.229; OKLCH L 64.1% C 0.238 H 310.6°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#B952F4
RGBrgb(185, 82, 244)
HSLhsl(278, 88%, 64%)
HSVhsv(278, 66%, 96%)
CMYKcmyk(24.2%, 66.4%, 0%, 4.3%)
CIE-LABlab(54.95, 66.84, -63.91)
CIE-LCHlch(54.95, 92.47, 316.28°)
OKLaboklab(64.09% 0.1547 -0.1805)
OKLCHoklch(64.09% 0.238 310.6)
XYZxyz(39.3509, 22.8814, 87.9140)
Luminance0.2288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B952F4 #8DF452
analogous
#6852F4 #B952F4 #F452DE
triadic
#B952F4 #F4B952 #52F4B9
tetradic
#B952F4 #F46852 #8DF452 #52DEF4
square
#B952F4 #F46852 #8DF452 #52DEF4
split-complementary
#B952F4 #DEF452 #52F468
monochromatic
#7E0CBF #A218F0 #B952F4 #D08CF8 #E8C5FB

Accessibility & contrast

On white

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

On black

5.58
#B952F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B952F4
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B952F4#FFFFFF#000000##000000
##B952F41.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF9
Deuteranopia (green-blind)
#3C85F0
Tritanopia (blue-blind)
#B1749D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b952f4;
/* rgb */ color: rgb(185, 82, 244);
/* oklch */ color: oklch(64.1% 0.238 310.6);
Tailwind
colors: {
  custom: {
    50: '#d289f9',
    500: '#b952f4',
    950: '#000000',
  },
}
SCSS
$custom: #b952f4;
$custom-light: #d289f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b952f4",
  "rgb": {
    "r": 185,
    "g": 82,
    "b": 244
  },
  "hsl": {
    "h": 278.148,
    "s": 88.043,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64092,
    "c": 0.23773,
    "h": 310.6
  },
  "luminance": 0.22881
}

Semantic roles & 50–950 ramp

primary
#B952F4
secondary
#C9EDB4
accent
#E50154
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #B952F4

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

Preview Lab → · Contrast checker → · Palette generator →

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