#B257D9#B257D9

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

Color values

HEX#B257D9
RGBrgb(178, 87, 217)
HSLhsl(282, 63%, 60%)
HSVhsv(282, 60%, 85%)
CMYKcmyk(18%, 59.9%, 0%, 14.9%)
CIE-LABlab(53.27, 57.38, -51.47)
CIE-LCHlch(53.27, 77.08, 318.10°)
OKLaboklab(62.17% 0.1414 -0.1443)
OKLCHoklch(62.17% 0.202 314.4)
XYZxyz(34.2906, 21.2922, 67.9357)
Luminance0.2129 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B257D9 #7ED957
analogous
#7157D9 #B257D9 #D957BF
triadic
#B257D9 #D9B257 #57D9B2
tetradic
#B257D9 #D97157 #7ED957 #57BFD9
square
#B257D9 #D97157 #7ED957 #57BFD9
split-complementary
#B257D9 #BFD957 #57D971
monochromatic
#722194 #982DC6 #B257D9 #C989E4 #E0BBF0

Accessibility & contrast

On white

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

On black

5.26
#B257D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B257D9
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B257D9#FFFFFF#000000##000000
##B257D91.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7ADD
Deuteranopia (green-blind)
#5382D6
Tritanopia (blue-blind)
#AF6E90
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b257d9;
/* rgb */ color: rgb(178, 87, 217);
/* oklch */ color: oklch(62.2% 0.202 314.4);
Tailwind
colors: {
  custom: {
    50: '#cc8be5',
    500: '#b257d9',
    950: '#000000',
  },
}
SCSS
$custom: #b257d9;
$custom-light: #cc8be5;
$custom-dark: #000000;
JSON
{
  "hex": "#b257d9",
  "rgb": {
    "r": 178,
    "g": 87,
    "b": 217
  },
  "hsl": {
    "h": 282,
    "s": 63.107,
    "l": 59.608
  },
  "oklch": {
    "l": 0.6217,
    "c": 0.20205,
    "h": 314.4
  },
  "luminance": 0.21291
}

Semantic roles & 50–950 ramp

primary
#B257D9
secondary
#BCDFAD
accent
#E64273
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B257D9

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

Preview Lab → · Contrast checker → · Palette generator →

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