#B257BF#B257BF

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

Color values

HEX#B257BF
RGBrgb(178, 87, 191)
HSLhsl(293, 45%, 55%)
HSVhsv(293, 54%, 75%)
CMYKcmyk(6.8%, 54.5%, 0%, 25.1%)
CIE-LABlab(51.89, 52.19, -38.79)
CIE-LCHlch(51.89, 65.02, 323.38°)
OKLaboklab(60.71% 0.1399 -0.1074)
OKLCHoklch(60.71% 0.176 322.5)
XYZxyz(31.1713, 20.0444, 51.5072)
Luminance0.2004 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B257BF #64BF57
analogous
#7E57BF #B257BF #BF5798
triadic
#B257BF #BFB257 #57BFB2
tetradic
#B257BF #BF7E57 #64BF57 #5798BF
square
#B257BF #BF7E57 #64BF57 #5798BF
split-complementary
#B257BF #98BF57 #57BF7E
monochromatic
#682B71 #913C9D #B257BF #C683D0 #DBB0E1

Accessibility & contrast

On white

4.19
#B257BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#B257BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B257BF
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B257BF#FFFFFF#000000##000000
##B257BF1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4675C2
Deuteranopia (green-blind)
#647FBC
Tritanopia (blue-blind)
#B46583
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b257bf;
/* rgb */ color: rgb(178, 87, 191);
/* oklch */ color: oklch(60.7% 0.176 322.5);
Tailwind
colors: {
  custom: {
    50: '#cb8ad3',
    500: '#b257bf',
    950: '#000000',
  },
}
SCSS
$custom: #b257bf;
$custom-light: #cb8ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#b257bf",
  "rgb": {
    "r": 178,
    "g": 87,
    "b": 191
  },
  "hsl": {
    "h": 292.5,
    "s": 44.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60714,
    "c": 0.17641,
    "h": 322.5
  },
  "luminance": 0.20043
}

Semantic roles & 50–950 ramp

primary
#B257BF
secondary
#A8CFA3
accent
#D55363
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B257BF

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

Preview Lab → · Contrast checker → · Palette generator →

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