#B152FF#B152FF

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

Color values

HEX#B152FF
RGBrgb(177, 82, 255)
HSLhsl(273, 100%, 66%)
HSVhsv(273, 68%, 100%)
CMYKcmyk(30.6%, 67.8%, 0%, 0%)
CIE-LABlab(54.66, 67.59, -70.54)
CIE-LCHlch(54.66, 97.70, 313.78°)
OKLaboklab(63.9% 0.1435 -0.2002)
OKLCHoklch(63.9% 0.246 305.6)
XYZxyz(39.1948, 22.6020, 96.8861)
Luminance0.2260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B152FF #A0FF52
analogous
#5A52FF #B152FF #FF52F6
triadic
#B152FF #FFB152 #52FFB1
tetradic
#B152FF #FF5A52 #A0FF52 #52F6FF
square
#B152FF #FF5A52 #A0FF52 #52F6FF
split-complementary
#B152FF #F6FF52 #52FF5A
monochromatic
#7600D7 #9515FF #B152FF #CD8FFF #E8CCFF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B152FF#FFFFFF#000000##000000
##B152FF1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#1283FB
Tritanopia (blue-blind)
#A379A3
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b152ff;
/* rgb */ color: rgb(177, 82, 255);
/* oklch */ color: oklch(63.9% 0.246 305.6);
Tailwind
colors: {
  custom: {
    50: '#ce89ff',
    500: '#b152ff',
    950: '#000000',
  },
}
SCSS
$custom: #b152ff;
$custom-light: #ce89ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b152ff",
  "rgb": {
    "r": 177,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 272.948,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.63896,
    "c": 0.24633,
    "h": 305.6
  },
  "luminance": 0.22602
}

Semantic roles & 50–950 ramp

primary
#B152FF
secondary
#D4F3BA
accent
#E60067
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C18
muted
#837D86

Preview Lab

Preview with #B152FF

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

Preview Lab → · Contrast checker → · Palette generator →

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