#B257DA#B257DA

#B257DA is a light, highly saturated purple. Relative luminance 0.213; OKLCH L 62.2% C 0.203 H 314.1°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#B257DA
RGBrgb(178, 87, 218)
HSLhsl(282, 64%, 60%)
HSVhsv(282, 60%, 85%)
CMYKcmyk(18.3%, 60.1%, 0%, 14.5%)
CIE-LABlab(53.32, 57.58, -51.95)
CIE-LCHlch(53.32, 77.55, 317.94°)
OKLaboklab(62.23% 0.1414 -0.1457)
OKLCHoklch(62.23% 0.203 314.1)
XYZxyz(34.4211, 21.3444, 68.6227)
Luminance0.2134 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B257DA #7FDA57
analogous
#7057DA #B257DA #DA57C1
triadic
#B257DA #DAB257 #57DAB2
tetradic
#B257DA #DA7057 #7FDA57 #57C1DA
square
#B257DA #DA7057 #7FDA57 #57C1DA
split-complementary
#B257DA #C1DA57 #57DA70
monochromatic
#722196 #982CC8 #B257DA #C989E5 #E0BBF0

Accessibility & contrast

On white

3.99
#B257DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#B257DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B257DA
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B257DA#FFFFFF#000000##000000
##B257DA1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B7ADE
Deuteranopia (green-blind)
#5382D7
Tritanopia (blue-blind)
#AF6E91
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b257da;
/* rgb */ color: rgb(178, 87, 218);
/* oklch */ color: oklch(62.2% 0.203 314.1);
Tailwind
colors: {
  custom: {
    50: '#cc8be6',
    500: '#b257da',
    950: '#000000',
  },
}
SCSS
$custom: #b257da;
$custom-light: #cc8be6;
$custom-dark: #000000;
JSON
{
  "hex": "#b257da",
  "rgb": {
    "r": 178,
    "g": 87,
    "b": 218
  },
  "hsl": {
    "h": 281.679,
    "s": 63.902,
    "l": 59.804
  },
  "oklch": {
    "l": 0.6223,
    "c": 0.20304,
    "h": 314.1
  },
  "luminance": 0.21343
}

Semantic roles & 50–950 ramp

primary
#B257DA
secondary
#BDE0AD
accent
#E74174
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B257DA

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

Preview Lab → · Contrast checker → · Palette generator →

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