#B257BE#B257BE

#B257BE is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.7% C 0.175 H 322.8°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#B257BE
RGBrgb(178, 87, 190)
HSLhsl(293, 44%, 54%)
HSVhsv(293, 54%, 75%)
CMYKcmyk(6.3%, 54.2%, 0%, 25.5%)
CIE-LABlab(51.84, 52.00, -38.29)
CIE-LCHlch(51.84, 64.57, 323.63°)
OKLaboklab(60.66% 0.1398 -0.106)
OKLCHoklch(60.66% 0.175 322.8)
XYZxyz(31.0616, 20.0006, 50.9296)
Luminance0.2000 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B257BE #63BE57
analogous
#7F57BE #B257BE #BE5797
triadic
#B257BE #BEB257 #57BEB2
tetradic
#B257BE #BE7F57 #63BE57 #5797BE
square
#B257BE #BE7F57 #63BE57 #5797BE
split-complementary
#B257BE #97BE57 #57BE7F
monochromatic
#682B6F #903C9C #B257BE #C683CF #DAAFE0

Accessibility & contrast

On white

4.20
#B257BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#B257BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B257BE
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B257BE#FFFFFF#000000##000000
##B257BE1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4775C1
Deuteranopia (green-blind)
#647FBB
Tritanopia (blue-blind)
#B56582
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b257be;
/* rgb */ color: rgb(178, 87, 190);
/* oklch */ color: oklch(60.7% 0.175 322.8);
Tailwind
colors: {
  custom: {
    50: '#cb8ad2',
    500: '#b257be',
    950: '#000000',
  },
}
SCSS
$custom: #b257be;
$custom-light: #cb8ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#b257be",
  "rgb": {
    "r": 178,
    "g": 87,
    "b": 190
  },
  "hsl": {
    "h": 293.01,
    "s": 44.206,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60662,
    "c": 0.17546,
    "h": 322.8
  },
  "luminance": 0.19999
}

Semantic roles & 50–950 ramp

primary
#B257BE
secondary
#A8CEA3
accent
#D45463
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B257BE

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

Preview Lab → · Contrast checker → · Palette generator →

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