#B952EF#B952EF

#B952EF is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.8% C 0.233 H 311.7°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#B952EF
RGBrgb(185, 82, 239)
HSLhsl(279, 83%, 63%)
HSVhsv(279, 66%, 94%)
CMYKcmyk(22.6%, 65.7%, 0%, 6.3%)
CIE-LABlab(54.64, 65.80, -61.62)
CIE-LCHlch(54.64, 90.14, 316.88°)
OKLaboklab(63.77% 0.1551 -0.1738)
OKLCHoklch(63.77% 0.233 311.7)
XYZxyz(38.6020, 22.5818, 83.9699)
Luminance0.2258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B952EF #88EF52
analogous
#6A52EF #B952EF #EF52D7
triadic
#B952EF #EFB952 #52EFB9
tetradic
#B952EF #EF6A52 #88EF52 #52D7EF
square
#B952EF #EF6A52 #88EF52 #52D7EF
split-complementary
#B952EF #D7EF52 #52EF6A
monochromatic
#7D11B6 #A21AEA #B952EF #D08AF4 #E6C2F9

Accessibility & contrast

On white

3.81
#B952EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#B952EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B952EF
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B952EF#FFFFFF#000000##000000
##B952EF1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF4
Deuteranopia (green-blind)
#4285EB
Tritanopia (blue-blind)
#B3729A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b952ef;
/* rgb */ color: rgb(185, 82, 239);
/* oklch */ color: oklch(63.8% 0.233 311.7);
Tailwind
colors: {
  custom: {
    50: '#d289f5',
    500: '#b952ef',
    950: '#000000',
  },
}
SCSS
$custom: #b952ef;
$custom-light: #d289f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b952ef",
  "rgb": {
    "r": 185,
    "g": 82,
    "b": 239
  },
  "hsl": {
    "h": 279.363,
    "s": 83.069,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63769,
    "c": 0.23291,
    "h": 311.7
  },
  "luminance": 0.22581
}

Semantic roles & 50–950 ramp

primary
#B952EF
secondary
#C6EBB2
accent
#DF0651
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#150C17
muted
#837D85

Preview Lab

Preview with #B952EF

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

Preview Lab → · Contrast checker → · Palette generator →

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