#B457CF#B457CF

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

Color values

HEX#B457CF
RGBrgb(180, 87, 207)
HSLhsl(287, 56%, 58%)
HSVhsv(287, 58%, 81%)
CMYKcmyk(13%, 58%, 0%, 18.8%)
CIE-LABlab(52.98, 55.84, -46.23)
CIE-LCHlch(52.98, 72.49, 320.38°)
OKLaboklab(61.84% 0.1435 -0.129)
OKLCHoklch(61.84% 0.193 318.1)
XYZxyz(33.4915, 21.0260, 61.3136)
Luminance0.2102 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B457CF #72CF57
analogous
#7857CF #B457CF #CF57AE
triadic
#B457CF #CFB457 #57CFB4
tetradic
#B457CF #CF7857 #72CF57 #57AECF
square
#B457CF #CF7857 #72CF57 #57AECF
split-complementary
#B457CF #AECF57 #57CF78
monochromatic
#702685 #9834B5 #B457CF #C987DD #DFB6EA

Accessibility & contrast

On white

4.03
#B457CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B457CF#FFFFFF#000000##000000
##B457CF1.004.035.205.20
#FFFFFF4.031.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A78D3
Deuteranopia (green-blind)
#5C82CC
Tritanopia (blue-blind)
#B46A8B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b457cf;
/* rgb */ color: rgb(180, 87, 207);
/* oklch */ color: oklch(61.8% 0.193 318.1);
Tailwind
colors: {
  custom: {
    50: '#cd8bde',
    500: '#b457cf',
    950: '#000000',
  },
}
SCSS
$custom: #b457cf;
$custom-light: #cd8bde;
$custom-dark: #000000;
JSON
{
  "hex": "#b457cf",
  "rgb": {
    "r": 180,
    "g": 87,
    "b": 207
  },
  "hsl": {
    "h": 286.5,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.61836,
    "c": 0.19294,
    "h": 318.1
  },
  "luminance": 0.21025
}

Semantic roles & 50–950 ramp

primary
#B457CF
secondary
#B4D9A9
accent
#DF496B
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B457CF

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

Preview Lab → · Contrast checker → · Palette generator →

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