#B257D3#B257D3

#B257D3 is a mid, vivid purple. Relative luminance 0.210; OKLCH L 61.8% C 0.196 H 316.1°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#B257D3
RGBrgb(178, 87, 211)
HSLhsl(284, 58%, 58%)
HSVhsv(284, 59%, 83%)
CMYKcmyk(15.6%, 58.8%, 0%, 17.3%)
CIE-LABlab(52.93, 56.14, -48.60)
CIE-LCHlch(52.93, 74.25, 319.12°)
OKLaboklab(61.82% 0.1413 -0.1359)
OKLCHoklch(61.82% 0.196 316.1)
XYZxyz(33.5244, 20.9857, 63.9001)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B257D3 #78D357
analogous
#7457D3 #B257D3 #D357B6
triadic
#B257D3 #D3B257 #57D3B2
tetradic
#B257D3 #D37457 #78D357 #57B6D3
square
#B257D3 #D37457 #78D357 #57B6D3
split-complementary
#B257D3 #B6D357 #57D374
monochromatic
#70248B #9731BC #B257D3 #C887E0 #DEB8EC

Accessibility & contrast

On white

4.04
#B257D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#B257D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B257D3
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B257D3#FFFFFF#000000##000000
##B257D31.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3479D7
Deuteranopia (green-blind)
#5881D0
Tritanopia (blue-blind)
#B06C8D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b257d3;
/* rgb */ color: rgb(178, 87, 211);
/* oklch */ color: oklch(61.8% 0.196 316.1);
Tailwind
colors: {
  custom: {
    50: '#cc8be1',
    500: '#b257d3',
    950: '#000000',
  },
}
SCSS
$custom: #b257d3;
$custom-light: #cc8be1;
$custom-dark: #000000;
JSON
{
  "hex": "#b257d3",
  "rgb": {
    "r": 178,
    "g": 87,
    "b": 211
  },
  "hsl": {
    "h": 284.032,
    "s": 58.491,
    "l": 58.431
  },
  "oklch": {
    "l": 0.61819,
    "c": 0.19604,
    "h": 316.1
  },
  "luminance": 0.20985
}

Semantic roles & 50–950 ramp

primary
#B257D3
secondary
#B7DCAA
accent
#E24670
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B257D3

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

Preview Lab → · Contrast checker → · Palette generator →

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