#B952F0#B952F0

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

Color values

HEX#B952F0
RGBrgb(185, 82, 240)
HSLhsl(279, 84%, 63%)
HSVhsv(279, 66%, 94%)
CMYKcmyk(22.9%, 65.8%, 0%, 5.9%)
CIE-LABlab(54.70, 66.01, -62.08)
CIE-LCHlch(54.70, 90.61, 316.76°)
OKLaboklab(63.83% 0.155 -0.1751)
OKLCHoklch(63.83% 0.234 311.5)
XYZxyz(38.7501, 22.6411, 84.7501)
Luminance0.2264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B952F0 #89F052
analogous
#6A52F0 #B952F0 #F052D8
triadic
#B952F0 #F0B952 #52F0B9
tetradic
#B952F0 #F06A52 #89F052 #52D8F0
square
#B952F0 #F06A52 #89F052 #52D8F0
split-complementary
#B952F0 #D8F052 #52F06A
monochromatic
#7D10B8 #A21AEB #B952F0 #D08AF5 #E7C3FA

Accessibility & contrast

On white

3.80
#B952F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#B952F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B952F0
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B952F0#FFFFFF#000000##000000
##B952F01.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF5
Deuteranopia (green-blind)
#4185EC
Tritanopia (blue-blind)
#B2729A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b952f0;
/* rgb */ color: rgb(185, 82, 240);
/* oklch */ color: oklch(63.8% 0.234 311.5);
Tailwind
colors: {
  custom: {
    50: '#d289f6',
    500: '#b952f0',
    950: '#000000',
  },
}
SCSS
$custom: #b952f0;
$custom-light: #d289f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b952f0",
  "rgb": {
    "r": 185,
    "g": 82,
    "b": 240
  },
  "hsl": {
    "h": 279.114,
    "s": 84.043,
    "l": 63.137
  },
  "oklch": {
    "l": 0.63833,
    "c": 0.23387,
    "h": 311.5
  },
  "luminance": 0.2264
}

Semantic roles & 50–950 ramp

primary
#B952F0
secondary
#C6EBB3
accent
#E00551
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #B952F0

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

Preview Lab → · Contrast checker → · Palette generator →

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