#B457CE#B457CE

#B457CE is a mid, vivid purple. Relative luminance 0.210; OKLCH L 61.8% C 0.192 H 318.4°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#B457CE
RGBrgb(180, 87, 206)
HSLhsl(287, 55%, 57%)
HSVhsv(287, 58%, 81%)
CMYKcmyk(12.6%, 57.8%, 0%, 19.2%)
CIE-LABlab(52.92, 55.64, -45.74)
CIE-LCHlch(52.92, 72.03, 320.58°)
OKLaboklab(61.78% 0.1435 -0.1275)
OKLCHoklch(61.78% 0.192 318.4)
XYZxyz(33.3697, 20.9772, 60.6718)
Luminance0.2098 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B457CE #71CE57
analogous
#7957CE #B457CE #CE57AC
triadic
#B457CE #CEB457 #57CEB4
tetradic
#B457CE #CE7957 #71CE57 #57ACCE
square
#B457CE #CE7957 #71CE57 #57ACCE
split-complementary
#B457CE #ACCE57 #57CE79
monochromatic
#702784 #9834B3 #B457CE #C986DC #DEB6EA

Accessibility & contrast

On white

4.04
#B457CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#B457CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B457CE
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B457CE#FFFFFF#000000##000000
##B457CE1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b457ce;
/* rgb */ color: rgb(180, 87, 206);
/* oklch */ color: oklch(61.8% 0.192 318.4);
Tailwind
colors: {
  custom: {
    50: '#cd8bdd',
    500: '#b457ce',
    950: '#000000',
  },
}
SCSS
$custom: #b457ce;
$custom-light: #cd8bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#b457ce",
  "rgb": {
    "r": 180,
    "g": 87,
    "b": 206
  },
  "hsl": {
    "h": 286.891,
    "s": 54.839,
    "l": 57.451
  },
  "oklch": {
    "l": 0.6178,
    "c": 0.19196,
    "h": 318.4
  },
  "luminance": 0.20976
}

Semantic roles & 50–950 ramp

primary
#B457CE
secondary
#B3D8A8
accent
#DE4A6A
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B457CE

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

Preview Lab → · Contrast checker → · Palette generator →

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