#B457AA#B457AA

#B457AA is a mid, vivid purple. Relative luminance 0.194; OKLCH L 59.9% C 0.158 H 331.5°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#B457AA
RGBrgb(180, 87, 170)
HSLhsl(306, 38%, 52%)
HSVhsv(306, 52%, 71%)
CMYKcmyk(0%, 51.7%, 5.6%, 29.4%)
CIE-LABlab(51.18, 48.91, -27.67)
CIE-LCHlch(51.18, 56.20, 330.50°)
OKLaboklab(59.93% 0.1393 -0.0754)
OKLCHoklch(59.93% 0.158 331.5)
XYZxyz(29.4861, 19.4238, 40.2185)
Luminance0.1942 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B457AA #57B461
analogous
#9057B4 #B457AA #B4577B
triadic
#B457AA #AAB457 #57AAB4
tetradic
#B457AA #B49057 #57B461 #577BB4
square
#B457AA #B49057 #57B461 #577BB4
split-complementary
#B457AA #7BB457 #57B490
monochromatic
#642D5E #8E4086 #B457AA #C781BF #DAACD5

Accessibility & contrast

On white

4.30
#B457AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#B457AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B457AA
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B457AA#FFFFFF#000000##000000
##B457AA1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5372AD
Deuteranopia (green-blind)
#6F7FA7
Tritanopia (blue-blind)
#BA5E79
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b457aa;
/* rgb */ color: rgb(180, 87, 170);
/* oklch */ color: oklch(59.9% 0.158 331.5);
Tailwind
colors: {
  custom: {
    50: '#cd8ac3',
    500: '#b457aa',
    950: '#000000',
  },
}
SCSS
$custom: #b457aa;
$custom-light: #cd8ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#b457aa",
  "rgb": {
    "r": 180,
    "g": 87,
    "b": 170
  },
  "hsl": {
    "h": 306.452,
    "s": 38.272,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59929,
    "c": 0.15838,
    "h": 331.5
  },
  "luminance": 0.19422
}

Semantic roles & 50–950 ramp

primary
#B457AA
secondary
#9FC8A4
accent
#CE665A
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C12
muted
#827D81

Preview Lab

Preview with #B457AA

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

Preview Lab → · Contrast checker → · Palette generator →

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