#B457CC#B457CC

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

Color values

HEX#B457CC
RGBrgb(180, 87, 204)
HSLhsl(288, 53%, 57%)
HSVhsv(288, 57%, 80%)
CMYKcmyk(11.8%, 57.4%, 0%, 20%)
CIE-LABlab(52.82, 55.24, -44.77)
CIE-LCHlch(52.82, 71.11, 320.98°)
OKLaboklab(61.67% 0.1434 -0.1247)
OKLCHoklch(61.67% 0.19 319)
XYZxyz(33.1282, 20.8807, 59.4004)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B457CC #6FCC57
analogous
#7957CC #B457CC #CC57AA
triadic
#B457CC #CCB457 #57CCB4
tetradic
#B457CC #CC7957 #6FCC57 #57AACC
square
#B457CC #CC7957 #6FCC57 #57AACC
split-complementary
#B457CC #AACC57 #57CC79
monochromatic
#6F2781 #9736B0 #B457CC #C986DA #DEB5E9

Accessibility & contrast

On white

4.06
#B457CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#B457CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B457CC
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B457CC#FFFFFF#000000##000000
##B457CC1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D78D0
Deuteranopia (green-blind)
#5E81C9
Tritanopia (blue-blind)
#B46989
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b457cc;
/* rgb */ color: rgb(180, 87, 204);
/* oklch */ color: oklch(61.7% 0.190 319.0);
Tailwind
colors: {
  custom: {
    50: '#cd8bdc',
    500: '#b457cc',
    950: '#000000',
  },
}
SCSS
$custom: #b457cc;
$custom-light: #cd8bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#b457cc",
  "rgb": {
    "r": 180,
    "g": 87,
    "b": 204
  },
  "hsl": {
    "h": 287.692,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61668,
    "c": 0.19,
    "h": 319
  },
  "luminance": 0.20879
}

Semantic roles & 50–950 ramp

primary
#B457CC
secondary
#B1D7A8
accent
#DD4B69
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B457CC

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

Preview Lab → · Contrast checker → · Palette generator →

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