#B257DD#B257DD

#B257DD is a light, highly saturated purple. Relative luminance 0.215; OKLCH L 62.4% C 0.206 H 313.3°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#B257DD
RGBrgb(178, 87, 221)
HSLhsl(281, 66%, 60%)
HSVhsv(281, 61%, 87%)
CMYKcmyk(19.5%, 60.6%, 0%, 13.3%)
CIE-LABlab(53.50, 58.21, -53.38)
CIE-LCHlch(53.50, 78.98, 317.48°)
OKLaboklab(62.41% 0.1414 -0.1499)
OKLCHoklch(62.41% 0.206 313.3)
XYZxyz(34.8172, 21.5028, 70.7090)
Luminance0.2150 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B257DD #82DD57
analogous
#6F57DD #B257DD #DD57C5
triadic
#B257DD #DDB257 #57DDB2
tetradic
#B257DD #DD6F57 #82DD57 #57C5DD
square
#B257DD #DD6F57 #82DD57 #57C5DD
split-complementary
#B257DD #C5DD57 #57DD6F
monochromatic
#731F9A #992ACD #B257DD #C98AE7 #E1BDF2

Accessibility & contrast

On white

3.96
#B257DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#B257DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B257DD
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B257DD#FFFFFF#000000##000000
##B257DD1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#277BE1
Deuteranopia (green-blind)
#5082DA
Tritanopia (blue-blind)
#AE7092
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b257dd;
/* rgb */ color: rgb(178, 87, 221);
/* oklch */ color: oklch(62.4% 0.206 313.3);
Tailwind
colors: {
  custom: {
    50: '#cc8be8',
    500: '#b257dd',
    950: '#000000',
  },
}
SCSS
$custom: #b257dd;
$custom-light: #cc8be8;
$custom-dark: #000000;
JSON
{
  "hex": "#b257dd",
  "rgb": {
    "r": 178,
    "g": 87,
    "b": 221
  },
  "hsl": {
    "h": 280.746,
    "s": 66.337,
    "l": 60.392
  },
  "oklch": {
    "l": 0.62409,
    "c": 0.20606,
    "h": 313.3
  },
  "luminance": 0.21502
}

Semantic roles & 50–950 ramp

primary
#B257DD
secondary
#BFE1AE
accent
#CE1752
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B257DD

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

Preview Lab → · Contrast checker → · Palette generator →

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