#B457CD#B457CD

#B457CD is a mid, vivid purple. Relative luminance 0.209; OKLCH L 61.7% C 0.191 H 318.7°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#B457CD
RGBrgb(180, 87, 205)
HSLhsl(287, 54%, 57%)
HSVhsv(287, 58%, 80%)
CMYKcmyk(12.2%, 57.6%, 0%, 19.6%)
CIE-LABlab(52.87, 55.44, -45.26)
CIE-LCHlch(52.87, 71.57, 320.78°)
OKLaboklab(61.72% 0.1434 -0.1261)
OKLCHoklch(61.72% 0.191 318.7)
XYZxyz(33.2486, 20.9288, 60.0341)
Luminance0.2093 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B457CD #70CD57
analogous
#7957CD #B457CD #CD57AB
triadic
#B457CD #CDB457 #57CDB4
tetradic
#B457CD #CD7957 #70CD57 #57ABCD
square
#B457CD #CD7957 #70CD57 #57ABCD
split-complementary
#B457CD #ABCD57 #57CD79
monochromatic
#6F2783 #9735B2 #B457CD #C986DB #DEB5E9

Accessibility & contrast

On white

4.05
#B457CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#B457CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B457CD
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B457CD#FFFFFF#000000##000000
##B457CD1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C78D1
Deuteranopia (green-blind)
#5D81CA
Tritanopia (blue-blind)
#B46A8A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b457cd;
/* rgb */ color: rgb(180, 87, 205);
/* oklch */ color: oklch(61.7% 0.191 318.7);
Tailwind
colors: {
  custom: {
    50: '#cd8bdd',
    500: '#b457cd',
    950: '#000000',
  },
}
SCSS
$custom: #b457cd;
$custom-light: #cd8bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#b457cd",
  "rgb": {
    "r": 180,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 287.288,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61724,
    "c": 0.19098,
    "h": 318.7
  },
  "luminance": 0.20927
}

Semantic roles & 50–950 ramp

primary
#B457CD
secondary
#B2D8A8
accent
#DD4A69
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B457CD

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

Preview Lab → · Contrast checker → · Palette generator →

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