#B152FD#B152FD

#B152FD is a light, highly saturated violet. Relative luminance 0.225; OKLCH L 63.8% C 0.244 H 306.0°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#B152FD
RGBrgb(177, 82, 253)
HSLhsl(273, 98%, 66%)
HSVhsv(273, 68%, 99%)
CMYKcmyk(30%, 67.6%, 0%, 0.8%)
CIE-LABlab(54.53, 67.15, -69.65)
CIE-LCHlch(54.53, 96.75, 313.96°)
OKLaboklab(63.76% 0.1437 -0.1976)
OKLCHoklch(63.76% 0.244 306)
XYZxyz(38.8745, 22.4739, 95.1994)
Luminance0.2247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B152FD #9EFD52
analogous
#5B52FD #B152FD #FD52F4
triadic
#B152FD #FDB152 #52FDB1
tetradic
#B152FD #FD5B52 #9EFD52 #52F4FD
square
#B152FD #FD5B52 #9EFD52 #52F4FD
split-complementary
#B152FD #F4FD52 #52FD5B
monochromatic
#7602D2 #9615FC #B152FD #CC8EFE #E8CBFE

Accessibility & contrast

On white

3.82
#B152FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#B152FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B152FD
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B152FD#FFFFFF#000000##000000
##B152FD1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#1A83F9
Tritanopia (blue-blind)
#A478A2
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b152fd;
/* rgb */ color: rgb(177, 82, 253);
/* oklch */ color: oklch(63.8% 0.244 306.0);
Tailwind
colors: {
  custom: {
    50: '#ce89ff',
    500: '#b152fd',
    950: '#000000',
  },
}
SCSS
$custom: #b152fd;
$custom-light: #ce89ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b152fd",
  "rgb": {
    "r": 177,
    "g": 82,
    "b": 253
  },
  "hsl": {
    "h": 273.333,
    "s": 97.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.63758,
    "c": 0.24434,
    "h": 306
  },
  "luminance": 0.22474
}

Semantic roles & 50–950 ramp

primary
#B152FD
secondary
#D2F2B9
accent
#E60066
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C18
muted
#837D86

Preview Lab

Preview with #B152FD

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

Preview Lab → · Contrast checker → · Palette generator →

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