#B457CA#B457CA

#B457CA is a mid, vivid purple. Relative luminance 0.208; OKLCH L 61.6% C 0.188 H 319.6°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#B457CA
RGBrgb(180, 87, 202)
HSLhsl(289, 52%, 57%)
HSVhsv(289, 57%, 79%)
CMYKcmyk(10.9%, 56.9%, 0%, 20.8%)
CIE-LABlab(52.71, 54.85, -43.79)
CIE-LCHlch(52.71, 70.19, 321.40°)
OKLaboklab(61.56% 0.1432 -0.1219)
OKLCHoklch(61.56% 0.188 319.6)
XYZxyz(32.8899, 20.7854, 58.1452)
Luminance0.2078 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B457CA #6DCA57
analogous
#7B57CA #B457CA #CA57A7
triadic
#B457CA #CAB457 #57CAB4
tetradic
#B457CA #CA7B57 #6DCA57 #57A7CA
square
#B457CA #CA7B57 #6DCA57 #57A7CA
split-complementary
#B457CA #A7CA57 #57CA7B
monochromatic
#6E287F #9637AD #B457CA #C986D9 #DEB4E7

Accessibility & contrast

On white

4.07
#B457CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#B457CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B457CA
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B457CA#FFFFFF#000000##000000
##B457CA1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E77CE
Deuteranopia (green-blind)
#5F81C7
Tritanopia (blue-blind)
#B56988
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b457ca;
/* rgb */ color: rgb(180, 87, 202);
/* oklch */ color: oklch(61.6% 0.188 319.6);
Tailwind
colors: {
  custom: {
    50: '#cd8bda',
    500: '#b457ca',
    950: '#000000',
  },
}
SCSS
$custom: #b457ca;
$custom-light: #cd8bda;
$custom-dark: #000000;
JSON
{
  "hex": "#b457ca",
  "rgb": {
    "r": 180,
    "g": 87,
    "b": 202
  },
  "hsl": {
    "h": 288.522,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61558,
    "c": 0.18806,
    "h": 319.6
  },
  "luminance": 0.20784
}

Semantic roles & 50–950 ramp

primary
#B457CA
secondary
#B0D6A7
accent
#DB4C68
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B457CA

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

Preview Lab → · Contrast checker → · Palette generator →

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