#B457BB#B457BB

#B457BB is a mid, vivid purple. Relative luminance 0.201; OKLCH L 60.8% C 0.174 H 324.7°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#B457BB
RGBrgb(180, 87, 187)
HSLhsl(296, 42%, 54%)
HSVhsv(296, 53%, 73%)
CMYKcmyk(3.7%, 53.5%, 0%, 26.7%)
CIE-LABlab(51.96, 51.98, -36.34)
CIE-LCHlch(51.96, 63.42, 325.04°)
OKLaboklab(60.76% 0.1418 -0.1003)
OKLCHoklch(60.76% 0.174 324.7)
XYZxyz(31.1995, 20.1092, 49.2422)
Luminance0.2011 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B457BB #5EBB57
analogous
#8257BB #B457BB #BB5790
triadic
#B457BB #BBB457 #57BBB4
tetradic
#B457BB #BB8257 #5EBB57 #5790BB
square
#B457BB #BB8257 #5EBB57 #5790BB
split-complementary
#B457BB #90BB57 #57BB82
monochromatic
#672C6C #913D97 #B457BB #C783CD #DBAEDE

Accessibility & contrast

On white

4.18
#B457BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#B457BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B457BB
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B457BB#FFFFFF#000000##000000
##B457BB1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A75BE
Deuteranopia (green-blind)
#6780B8
Tritanopia (blue-blind)
#B86481
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b457bb;
/* rgb */ color: rgb(180, 87, 187);
/* oklch */ color: oklch(60.8% 0.174 324.7);
Tailwind
colors: {
  custom: {
    50: '#cd8bd0',
    500: '#b457bb',
    950: '#000000',
  },
}
SCSS
$custom: #b457bb;
$custom-light: #cd8bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#b457bb",
  "rgb": {
    "r": 180,
    "g": 87,
    "b": 187
  },
  "hsl": {
    "h": 295.8,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.6076,
    "c": 0.17372,
    "h": 324.7
  },
  "luminance": 0.20108
}

Semantic roles & 50–950 ramp

primary
#B457BB
secondary
#A5CCA2
accent
#D2565E
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B457BB

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

Preview Lab → · Contrast checker → · Palette generator →

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