#B152F3#B152F3

#B152F3 is a light, highly saturated violet. Relative luminance 0.219; OKLCH L 63.1% C 0.234 H 308.1°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#B152F3
RGBrgb(177, 82, 243)
HSLhsl(275, 87%, 64%)
HSVhsv(275, 66%, 95%)
CMYKcmyk(27.2%, 66.3%, 0%, 4.7%)
CIE-LABlab(53.87, 64.97, -65.14)
CIE-LCHlch(53.87, 92.01, 314.93°)
OKLaboklab(63.08% 0.1448 -0.1844)
OKLCHoklch(63.08% 0.234 308.1)
XYZxyz(37.3231, 21.8533, 87.0286)
Luminance0.2185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B152F3 #94F352
analogous
#6052F3 #B152F3 #F352E4
triadic
#B152F3 #F3B152 #52F3B1
tetradic
#B152F3 #F36052 #94F352 #52E4F3
square
#B152F3 #F36052 #94F352 #52E4F3
split-complementary
#B152F3 #E4F352 #52F360
monochromatic
#750DBD #9719EF #B152F3 #CB8BF7 #E5C4FB

Accessibility & contrast

On white

3.91
#B152F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#B152F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B152F3
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B152F3#FFFFFF#000000##000000
##B152F31.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF8
Deuteranopia (green-blind)
#3082EF
Tritanopia (blue-blind)
#A7759C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b152f3;
/* rgb */ color: rgb(177, 82, 243);
/* oklch */ color: oklch(63.1% 0.234 308.1);
Tailwind
colors: {
  custom: {
    50: '#cd89f8',
    500: '#b152f3',
    950: '#000000',
  },
}
SCSS
$custom: #b152f3;
$custom-light: #cd89f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b152f3",
  "rgb": {
    "r": 177,
    "g": 82,
    "b": 243
  },
  "hsl": {
    "h": 275.404,
    "s": 87.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63082,
    "c": 0.23443,
    "h": 308.1
  },
  "luminance": 0.21853
}

Semantic roles & 50–950 ramp

primary
#B152F3
secondary
#CBEDB4
accent
#E4025E
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B152F3

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

Preview Lab → · Contrast checker → · Palette generator →

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