#B852FF#B852FF

#B852FF is a light, highly saturated violet. Relative luminance 0.234; OKLCH L 64.7% C 0.248 H 307.9°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#B852FF
RGBrgb(184, 82, 255)
HSLhsl(275, 100%, 66%)
HSVhsv(275, 68%, 100%)
CMYKcmyk(27.8%, 67.8%, 0%, 0%)
CIE-LABlab(55.53, 68.96, -69.09)
CIE-LCHlch(55.53, 97.62, 314.94°)
OKLaboklab(64.7% 0.1523 -0.1958)
OKLCHoklch(64.7% 0.248 307.9)
XYZxyz(40.8307, 23.4455, 96.9628)
Luminance0.2344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B852FF #99FF52
analogous
#6152FF #B852FF #FF52EF
triadic
#B852FF #FFB852 #52FFB8
tetradic
#B852FF #FF6152 #99FF52 #52EFFF
square
#B852FF #FF6152 #99FF52 #52EFFF
split-complementary
#B852FF #EFFF52 #52FF61
monochromatic
#7F00D7 #9F15FF #B852FF #D18FFF #EACCFF

Accessibility & contrast

On white

3.69
#B852FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#B852FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B852FF
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B852FF#FFFFFF#000000##000000
##B852FF1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#2786FB
Tritanopia (blue-blind)
#AD78A3
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b852ff;
/* rgb */ color: rgb(184, 82, 255);
/* oklch */ color: oklch(64.7% 0.248 307.9);
Tailwind
colors: {
  custom: {
    50: '#d28aff',
    500: '#b852ff',
    950: '#000000',
  },
}
SCSS
$custom: #b852ff;
$custom-light: #d28aff;
$custom-dark: #000000;
JSON
{
  "hex": "#b852ff",
  "rgb": {
    "r": 184,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 275.376,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64703,
    "c": 0.24807,
    "h": 307.9
  },
  "luminance": 0.23445
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B852FF

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

Preview Lab → · Contrast checker → · Palette generator →

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