#B257DC#B257DC

#B257DC is a light, highly saturated purple. Relative luminance 0.214; OKLCH L 62.3% C 0.205 H 313.6°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#B257DC
RGBrgb(178, 87, 220)
HSLhsl(281, 66%, 60%)
HSVhsv(281, 60%, 86%)
CMYKcmyk(19.1%, 60.5%, 0%, 13.7%)
CIE-LABlab(53.44, 58.00, -52.90)
CIE-LCHlch(53.44, 78.50, 317.63°)
OKLaboklab(62.35% 0.1414 -0.1485)
OKLCHoklch(62.35% 0.205 313.6)
XYZxyz(34.6844, 21.4497, 70.0094)
Luminance0.2145 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B257DC #81DC57
analogous
#7057DC #B257DC #DC57C3
triadic
#B257DC #DCB257 #57DCB2
tetradic
#B257DC #DC7057 #81DC57 #57C3DC
square
#B257DC #DC7057 #81DC57 #57C3DC
split-complementary
#B257DC #C3DC57 #57DC70
monochromatic
#732099 #992ACB #B257DC #C98AE7 #E0BCF1

Accessibility & contrast

On white

3.97
#B257DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#B257DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B257DC
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B257DC#FFFFFF#000000##000000
##B257DC1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#287BE0
Deuteranopia (green-blind)
#5182D9
Tritanopia (blue-blind)
#AE6F92
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b257dc;
/* rgb */ color: rgb(178, 87, 220);
/* oklch */ color: oklch(62.3% 0.205 313.6);
Tailwind
colors: {
  custom: {
    50: '#cc8be7',
    500: '#b257dc',
    950: '#000000',
  },
}
SCSS
$custom: #b257dc;
$custom-light: #cc8be7;
$custom-dark: #000000;
JSON
{
  "hex": "#b257dc",
  "rgb": {
    "r": 178,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 281.053,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.62349,
    "c": 0.20505,
    "h": 313.6
  },
  "luminance": 0.21449
}

Semantic roles & 50–950 ramp

primary
#B257DC
secondary
#BEE1AE
accent
#CD1851
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B257DC

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

Preview Lab → · Contrast checker → · Palette generator →

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