#B152F5#B152F5

#B152F5 is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 63.2% C 0.236 H 307.7°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#B152F5
RGBrgb(177, 82, 245)
HSLhsl(275, 89%, 64%)
HSVhsv(275, 67%, 96%)
CMYKcmyk(27.8%, 66.5%, 0%, 3.9%)
CIE-LABlab(54.00, 65.41, -66.05)
CIE-LCHlch(54.00, 92.95, 314.72°)
OKLaboklab(63.22% 0.1446 -0.1871)
OKLCHoklch(63.22% 0.236 307.7)
XYZxyz(37.6268, 21.9748, 88.6279)
Luminance0.2197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B152F5 #96F552
analogous
#6052F5 #B152F5 #F552E8
triadic
#B152F5 #F5B152 #52F5B1
tetradic
#B152F5 #F56052 #96F552 #52E8F5
square
#B152F5 #F56052 #96F552 #52E8F5
split-complementary
#B152F5 #E8F552 #52F560
monochromatic
#750BC1 #9718F2 #B152F5 #CB8CF8 #E5C6FC

Accessibility & contrast

On white

3.89
#B152F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#B152F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B152F5
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B152F5#FFFFFF#000000##000000
##B152F51.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFA
Deuteranopia (green-blind)
#2D82F1
Tritanopia (blue-blind)
#A6759D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b152f5;
/* rgb */ color: rgb(177, 82, 245);
/* oklch */ color: oklch(63.2% 0.236 307.7);
Tailwind
colors: {
  custom: {
    50: '#cd89f9',
    500: '#b152f5',
    950: '#000000',
  },
}
SCSS
$custom: #b152f5;
$custom-light: #cd89f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b152f5",
  "rgb": {
    "r": 177,
    "g": 82,
    "b": 245
  },
  "hsl": {
    "h": 274.969,
    "s": 89.071,
    "l": 64.118
  },
  "oklch": {
    "l": 0.63215,
    "c": 0.23641,
    "h": 307.7
  },
  "luminance": 0.21974
}

Semantic roles & 50–950 ramp

primary
#B152F5
secondary
#CDEEB5
accent
#E60060
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B152F5

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

Preview Lab → · Contrast checker → · Palette generator →

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