#B257DB#B257DB

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

Color values

HEX#B257DB
RGBrgb(178, 87, 219)
HSLhsl(281, 65%, 60%)
HSVhsv(281, 60%, 86%)
CMYKcmyk(18.7%, 60.3%, 0%, 14.1%)
CIE-LABlab(53.38, 57.79, -52.43)
CIE-LCHlch(53.38, 78.03, 317.79°)
OKLaboklab(62.29% 0.1414 -0.1471)
OKLCHoklch(62.29% 0.204 313.9)
XYZxyz(34.5523, 21.3969, 69.3140)
Luminance0.2140 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B257DB #80DB57
analogous
#7057DB #B257DB #DB57C2
triadic
#B257DB #DBB257 #57DBB2
tetradic
#B257DB #DB7057 #80DB57 #57C2DB
square
#B257DB #DB7057 #80DB57 #57C2DB
split-complementary
#B257DB #C2DB57 #57DB70
monochromatic
#722097 #982BCA #B257DB #C989E6 #E0BCF1

Accessibility & contrast

On white

3.98
#B257DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#B257DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B257DB
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B257DB#FFFFFF#000000##000000
##B257DB1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A7ADF
Deuteranopia (green-blind)
#5282D8
Tritanopia (blue-blind)
#AE6F91
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b257db;
/* rgb */ color: rgb(178, 87, 219);
/* oklch */ color: oklch(62.3% 0.204 313.9);
Tailwind
colors: {
  custom: {
    50: '#cc8be7',
    500: '#b257db',
    950: '#000000',
  },
}
SCSS
$custom: #b257db;
$custom-light: #cc8be7;
$custom-dark: #000000;
JSON
{
  "hex": "#b257db",
  "rgb": {
    "r": 178,
    "g": 87,
    "b": 219
  },
  "hsl": {
    "h": 281.364,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.62289,
    "c": 0.20405,
    "h": 313.9
  },
  "luminance": 0.21396
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B257DB

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

Preview Lab → · Contrast checker → · Palette generator →

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