#B257BB#B257BB

#B257BB is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.5% C 0.173 H 323.9°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#B257BB
RGBrgb(178, 87, 187)
HSLhsl(295, 42%, 54%)
HSVhsv(295, 53%, 73%)
CMYKcmyk(4.8%, 53.5%, 0%, 26.7%)
CIE-LABlab(51.69, 51.43, -36.79)
CIE-LCHlch(51.69, 63.23, 324.42°)
OKLaboklab(60.51% 0.1395 -0.1016)
OKLCHoklch(60.51% 0.173 323.9)
XYZxyz(30.7371, 19.8708, 49.2205)
Luminance0.1987 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B257BB #60BB57
analogous
#8057BB #B257BB #BB5792
triadic
#B257BB #BBB257 #57BBB2
tetradic
#B257BB #BB8057 #60BB57 #5792BB
square
#B257BB #BB8057 #60BB57 #5792BB
split-complementary
#B257BB #92BB57 #57BB80
monochromatic
#662C6C #8F3D97 #B257BB #C683CD #DAAEDE

Accessibility & contrast

On white

4.22
#B257BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#B257BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B257BB
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B257BB#FFFFFF#000000##000000
##B257BB1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4974BE
Deuteranopia (green-blind)
#667FB8
Tritanopia (blue-blind)
#B56481
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b257bb;
/* rgb */ color: rgb(178, 87, 187);
/* oklch */ color: oklch(60.5% 0.173 323.9);
Tailwind
colors: {
  custom: {
    50: '#cb8ad0',
    500: '#b257bb',
    950: '#000000',
  },
}
SCSS
$custom: #b257bb;
$custom-light: #cb8ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#b257bb",
  "rgb": {
    "r": 178,
    "g": 87,
    "b": 187
  },
  "hsl": {
    "h": 294.6,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60506,
    "c": 0.17259,
    "h": 323.9
  },
  "luminance": 0.19869
}

Semantic roles & 50–950 ramp

primary
#B257BB
secondary
#A5CCA2
accent
#D25661
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B257BB

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

Preview Lab → · Contrast checker → · Palette generator →

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