#B152F0#B152F0

#B152F0 is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 62.9% C 0.231 H 308.8°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#B152F0
RGBrgb(177, 82, 240)
HSLhsl(276, 84%, 63%)
HSVhsv(276, 66%, 94%)
CMYKcmyk(26.3%, 65.8%, 0%, 5.9%)
CIE-LABlab(53.68, 64.33, -63.77)
CIE-LCHlch(53.68, 90.58, 315.25°)
OKLaboklab(62.88% 0.145 -0.1804)
OKLCHoklch(62.88% 0.231 308.8)
XYZxyz(36.8738, 21.6736, 84.6621)
Luminance0.2167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B152F0 #91F052
analogous
#6252F0 #B152F0 #F052E0
triadic
#B152F0 #F0B152 #52F0B1
tetradic
#B152F0 #F06252 #91F052 #52E0F0
square
#B152F0 #F06252 #91F052 #52E0F0
split-complementary
#B152F0 #E0F052 #52F062
monochromatic
#7510B8 #981AEB #B152F0 #CA8AF5 #E4C3FA

Accessibility & contrast

On white

3.94
#B152F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#B152F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B152F0
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B152F0#FFFFFF#000000##000000
##B152F01.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF5
Deuteranopia (green-blind)
#3581EC
Tritanopia (blue-blind)
#A8739A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b152f0;
/* rgb */ color: rgb(177, 82, 240);
/* oklch */ color: oklch(62.9% 0.231 308.8);
Tailwind
colors: {
  custom: {
    50: '#cd89f6',
    500: '#b152f0',
    950: '#000000',
  },
}
SCSS
$custom: #b152f0;
$custom-light: #cd89f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b152f0",
  "rgb": {
    "r": 177,
    "g": 82,
    "b": 240
  },
  "hsl": {
    "h": 276.076,
    "s": 84.043,
    "l": 63.137
  },
  "oklch": {
    "l": 0.62883,
    "c": 0.23145,
    "h": 308.8
  },
  "luminance": 0.21673
}

Semantic roles & 50–950 ramp

primary
#B152F0
secondary
#C9EBB3
accent
#E0055D
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B152F0

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

Preview Lab → · Contrast checker → · Palette generator →

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