#B257DF#B257DF

#B257DF is a light, highly saturated purple. Relative luminance 0.216; OKLCH L 62.5% C 0.208 H 312.8°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#B257DF
RGBrgb(178, 87, 223)
HSLhsl(280, 68%, 61%)
HSVhsv(280, 61%, 87%)
CMYKcmyk(20.2%, 61%, 0%, 12.5%)
CIE-LABlab(53.61, 58.63, -54.32)
CIE-LCHlch(53.61, 79.92, 317.18°)
OKLaboklab(62.53% 0.1414 -0.1526)
OKLCHoklch(62.53% 0.208 312.8)
XYZxyz(35.0852, 21.6100, 72.1207)
Luminance0.2161 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B257DF #84DF57
analogous
#6E57DF #B257DF #DF57C8
triadic
#B257DF #DFB257 #57DFB2
tetradic
#B257DF #DF6E57 #84DF57 #57C8DF
square
#B257DF #DF6E57 #84DF57 #57C8DF
split-complementary
#B257DF #C8DF57 #57DF6E
monochromatic
#731E9E #9928D1 #B257DF #CA8AE9 #E1BEF3

Accessibility & contrast

On white

3.95
#B257DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#B257DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B257DF
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B257DF#FFFFFF#000000##000000
##B257DF1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#237BE3
Deuteranopia (green-blind)
#4F82DC
Tritanopia (blue-blind)
#AD7093
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b257df;
/* rgb */ color: rgb(178, 87, 223);
/* oklch */ color: oklch(62.5% 0.208 312.8);
Tailwind
colors: {
  custom: {
    50: '#cc8bea',
    500: '#b257df',
    950: '#000000',
  },
}
SCSS
$custom: #b257df;
$custom-light: #cc8bea;
$custom-dark: #000000;
JSON
{
  "hex": "#b257df",
  "rgb": {
    "r": 178,
    "g": 87,
    "b": 223
  },
  "hsl": {
    "h": 280.147,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.6253,
    "c": 0.20808,
    "h": 312.8
  },
  "luminance": 0.21609
}

Semantic roles & 50–950 ramp

primary
#B257DF
secondary
#C0E3AF
accent
#D01653
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B257DF

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

Preview Lab → · Contrast checker → · Palette generator →

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