#B457BC#B457BC

#B457BC is a mid, vivid purple. Relative luminance 0.202; OKLCH L 60.8% C 0.175 H 324.4°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#B457BC
RGBrgb(180, 87, 188)
HSLhsl(295, 43%, 54%)
HSVhsv(295, 54%, 74%)
CMYKcmyk(4.3%, 53.7%, 0%, 26.3%)
CIE-LABlab(52.01, 52.16, -36.85)
CIE-LCHlch(52.01, 63.87, 324.76°)
OKLaboklab(60.81% 0.142 -0.1017)
OKLCHoklch(60.81% 0.175 324.4)
XYZxyz(31.3069, 20.1521, 49.8079)
Luminance0.2015 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B457BC #5FBC57
analogous
#8257BC #B457BC #BC5792
triadic
#B457BC #BCB457 #57BCB4
tetradic
#B457BC #BC8257 #5FBC57 #5792BC
square
#B457BC #BC8257 #5FBC57 #5792BC
split-complementary
#B457BC #92BC57 #57BC82
monochromatic
#682C6D #923D99 #B457BC #C883CD #DBAFDF

Accessibility & contrast

On white

4.17
#B457BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#B457BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B457BC
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B457BC#FFFFFF#000000##000000
##B457BC1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4975BF
Deuteranopia (green-blind)
#6780B9
Tritanopia (blue-blind)
#B76481
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b457bc;
/* rgb */ color: rgb(180, 87, 188);
/* oklch */ color: oklch(60.8% 0.175 324.4);
Tailwind
colors: {
  custom: {
    50: '#cd8bd0',
    500: '#b457bc',
    950: '#000000',
  },
}
SCSS
$custom: #b457bc;
$custom-light: #cd8bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#b457bc",
  "rgb": {
    "r": 180,
    "g": 87,
    "b": 188
  },
  "hsl": {
    "h": 295.248,
    "s": 42.979,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60812,
    "c": 0.17466,
    "h": 324.4
  },
  "luminance": 0.20151
}

Semantic roles & 50–950 ramp

primary
#B457BC
secondary
#A5CDA2
accent
#D3555F
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B457BC

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

Preview Lab → · Contrast checker → · Palette generator →

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