#B952FF#B952FF

#B952FF is a light, highly saturated violet. Relative luminance 0.236; OKLCH L 64.8% C 0.248 H 308.2°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#B952FF
RGBrgb(185, 82, 255)
HSLhsl(276, 100%, 66%)
HSVhsv(276, 68%, 100%)
CMYKcmyk(27.5%, 67.8%, 0%, 0%)
CIE-LABlab(55.65, 69.16, -68.88)
CIE-LCHlch(55.65, 97.61, 315.11°)
OKLaboklab(64.82% 0.1536 -0.1951)
OKLCHoklch(64.82% 0.248 308.2)
XYZxyz(41.0712, 23.5695, 96.9741)
Luminance0.2357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B952FF #98FF52
analogous
#6252FF #B952FF #FF52EE
triadic
#B952FF #FFB952 #52FFB9
tetradic
#B952FF #FF6252 #98FF52 #52EEFF
square
#B952FF #FF6252 #98FF52 #52EEFF
split-complementary
#B952FF #EEFF52 #52FF62
monochromatic
#8000D7 #A015FF #B952FF #D28FFF #EBCCFF

Accessibility & contrast

On white

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

On black

5.71
#B952FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B952FF
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B952FF#FFFFFF#000000##000000
##B952FF1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b952ff;
/* rgb */ color: rgb(185, 82, 255);
/* oklch */ color: oklch(64.8% 0.248 308.2);
Tailwind
colors: {
  custom: {
    50: '#d38aff',
    500: '#b952ff',
    950: '#000000',
  },
}
SCSS
$custom: #b952ff;
$custom-light: #d38aff;
$custom-dark: #000000;
JSON
{
  "hex": "#b952ff",
  "rgb": {
    "r": 185,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 275.723,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64819,
    "c": 0.24833,
    "h": 308.2
  },
  "luminance": 0.23569
}

Semantic roles & 50–950 ramp

primary
#B952FF
secondary
#D1F3BA
accent
#E6005D
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C18
muted
#837D86

Preview Lab

Preview with #B952FF

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

Preview Lab → · Contrast checker → · Palette generator →

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