#B257BC#B257BC

#B257BC is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.6% C 0.174 H 323.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B257BC
RGBrgb(178, 87, 188)
HSLhsl(294, 43%, 54%)
HSVhsv(294, 54%, 74%)
CMYKcmyk(5.3%, 53.7%, 0%, 26.3%)
CIE-LABlab(51.74, 51.62, -37.29)
CIE-LCHlch(51.74, 63.68, 324.16°)
OKLaboklab(60.56% 0.1396 -0.1031)
OKLCHoklch(60.56% 0.174 323.6)
XYZxyz(30.8445, 19.9137, 49.7862)
Luminance0.1991 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B257BC #61BC57
analogous
#8057BC #B257BC #BC5794
triadic
#B257BC #BCB257 #57BCB2
tetradic
#B257BC #BC8057 #61BC57 #5794BC
square
#B257BC #BC8057 #61BC57 #5794BC
split-complementary
#B257BC #94BC57 #57BC80
monochromatic
#672C6D #903D99 #B257BC #C683CD #DAAFDF

Accessibility & contrast

On white

4.21
#B257BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#B257BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B257BC
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B257BC#FFFFFF#000000##000000
##B257BC1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4874BF
Deuteranopia (green-blind)
#657FB9
Tritanopia (blue-blind)
#B56481
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b257bc;
/* rgb */ color: rgb(178, 87, 188);
/* oklch */ color: oklch(60.6% 0.174 323.6);
Tailwind
colors: {
  custom: {
    50: '#cb8ad0',
    500: '#b257bc',
    950: '#000000',
  },
}
SCSS
$custom: #b257bc;
$custom-light: #cb8ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#b257bc",
  "rgb": {
    "r": 178,
    "g": 87,
    "b": 188
  },
  "hsl": {
    "h": 294.059,
    "s": 42.979,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60558,
    "c": 0.17354,
    "h": 323.6
  },
  "luminance": 0.19912
}

Semantic roles & 50–950 ramp

primary
#B257BC
secondary
#A6CDA2
accent
#D35561
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B257BC

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

Preview Lab → · Contrast checker → · Palette generator →

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