#B952FE#B952FE

#B952FE is a light, highly saturated violet. Relative luminance 0.235; OKLCH L 64.8% C 0.247 H 308.4°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#B952FE
RGBrgb(185, 82, 254)
HSLhsl(276, 99%, 66%)
HSVhsv(276, 68%, 100%)
CMYKcmyk(27.2%, 67.7%, 0%, 0.4%)
CIE-LABlab(55.59, 68.94, -68.43)
CIE-LCHlch(55.59, 97.14, 315.21°)
OKLaboklab(64.75% 0.1537 -0.1938)
OKLCHoklch(64.75% 0.247 308.4)
XYZxyz(40.9106, 23.5053, 96.1285)
Luminance0.2351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B952FE #97FE52
analogous
#6352FE #B952FE #FE52ED
triadic
#B952FE #FEB952 #52FEB9
tetradic
#B952FE #FE6352 #97FE52 #52EDFE
square
#B952FE #FE6352 #97FE52 #52EDFE
split-complementary
#B952FE #EDFE52 #52FE63
monochromatic
#8001D4 #A015FE #B952FE #D28FFE #EACCFF

Accessibility & contrast

On white

3.68
#B952FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#B952FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B952FE
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B952FE#FFFFFF#000000##000000
##B952FE1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#2C86FA
Tritanopia (blue-blind)
#AE78A2
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b952fe;
/* rgb */ color: rgb(185, 82, 254);
/* oklch */ color: oklch(64.8% 0.247 308.4);
Tailwind
colors: {
  custom: {
    50: '#d38aff',
    500: '#b952fe',
    950: '#000000',
  },
}
SCSS
$custom: #b952fe;
$custom-light: #d38aff;
$custom-dark: #000000;
JSON
{
  "hex": "#b952fe",
  "rgb": {
    "r": 185,
    "g": 82,
    "b": 254
  },
  "hsl": {
    "h": 275.93,
    "s": 98.851,
    "l": 65.882
  },
  "oklch": {
    "l": 0.64752,
    "c": 0.24736,
    "h": 308.4
  },
  "luminance": 0.23505
}

Semantic roles & 50–950 ramp

primary
#B952FE
secondary
#D0F2B9
accent
#E6005C
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C18
muted
#837D86

Preview Lab

Preview with #B952FE

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

Preview Lab → · Contrast checker → · Palette generator →

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