#B152F1#B152F1

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

Color values

HEX#B152F1
RGBrgb(177, 82, 241)
HSLhsl(276, 85%, 63%)
HSVhsv(276, 66%, 95%)
CMYKcmyk(26.6%, 66%, 0%, 5.5%)
CIE-LABlab(53.74, 64.54, -64.23)
CIE-LCHlch(53.74, 91.06, 315.14°)
OKLaboklab(62.95% 0.1449 -0.1817)
OKLCHoklch(62.95% 0.232 308.6)
XYZxyz(37.0227, 21.7332, 85.4466)
Luminance0.2173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B152F1 #92F152
analogous
#6152F1 #B152F1 #F152E2
triadic
#B152F1 #F1B152 #52F1B1
tetradic
#B152F1 #F16152 #92F152 #52E2F1
square
#B152F1 #F16152 #92F152 #52E2F1
split-complementary
#B152F1 #E2F152 #52F161
monochromatic
#750FBA #9719EC #B152F1 #CB8BF6 #E4C3FA

Accessibility & contrast

On white

3.93
#B152F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#B152F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B152F1
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B152F1#FFFFFF#000000##000000
##B152F11.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF6
Deuteranopia (green-blind)
#3382ED
Tritanopia (blue-blind)
#A7749B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b152f1;
/* rgb */ color: rgb(177, 82, 241);
/* oklch */ color: oklch(62.9% 0.232 308.6);
Tailwind
colors: {
  custom: {
    50: '#cd89f6',
    500: '#b152f1',
    950: '#000000',
  },
}
SCSS
$custom: #b152f1;
$custom-light: #cd89f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b152f1",
  "rgb": {
    "r": 177,
    "g": 82,
    "b": 241
  },
  "hsl": {
    "h": 275.849,
    "s": 85.027,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62949,
    "c": 0.23244,
    "h": 308.6
  },
  "luminance": 0.21733
}

Semantic roles & 50–950 ramp

primary
#B152F1
secondary
#CAECB3
accent
#E2045D
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B152F1

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

Preview Lab → · Contrast checker → · Palette generator →

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