#B457BA#B457BA

#B457BA is a mid, vivid purple. Relative luminance 0.201; OKLCH L 60.7% C 0.173 H 325.1°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#B457BA
RGBrgb(180, 87, 186)
HSLhsl(296, 42%, 54%)
HSVhsv(296, 53%, 73%)
CMYKcmyk(3.2%, 53.2%, 0%, 27.1%)
CIE-LABlab(51.91, 51.79, -35.84)
CIE-LCHlch(51.91, 62.98, 325.32°)
OKLaboklab(60.71% 0.1417 -0.0988)
OKLCHoklch(60.71% 0.173 325.1)
XYZxyz(31.0928, 20.0665, 48.6803)
Luminance0.2006 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B457BA #5DBA57
analogous
#8257BA #B457BA #BA578E
triadic
#B457BA #BAB457 #57BAB4
tetradic
#B457BA #BA8257 #5DBA57 #578EBA
square
#B457BA #BA8257 #5DBA57 #578EBA
split-complementary
#B457BA #8EBA57 #57BA82
monochromatic
#672C6B #913E96 #B457BA #C782CC #DBAEDE

Accessibility & contrast

On white

4.19
#B457BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#B457BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B457BA
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B457BA#FFFFFF#000000##000000
##B457BA1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A74BD
Deuteranopia (green-blind)
#6880B7
Tritanopia (blue-blind)
#B86380
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b457ba;
/* rgb */ color: rgb(180, 87, 186);
/* oklch */ color: oklch(60.7% 0.173 325.1);
Tailwind
colors: {
  custom: {
    50: '#cd8bcf',
    500: '#b457ba',
    950: '#000000',
  },
}
SCSS
$custom: #b457ba;
$custom-light: #cd8bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#b457ba",
  "rgb": {
    "r": 180,
    "g": 87,
    "b": 186
  },
  "hsl": {
    "h": 296.364,
    "s": 41.772,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60709,
    "c": 0.17279,
    "h": 325.1
  },
  "luminance": 0.20065
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B457BA

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

Preview Lab → · Contrast checker → · Palette generator →

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