#B257CD#B257CD

#B257CD is a mid, vivid purple. Relative luminance 0.207; OKLCH L 61.5% C 0.190 H 317.9°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#B257CD
RGBrgb(178, 87, 205)
HSLhsl(286, 54%, 57%)
HSVhsv(286, 58%, 80%)
CMYKcmyk(13.2%, 57.6%, 0%, 19.6%)
CIE-LABlab(52.61, 54.93, -45.69)
CIE-LCHlch(52.61, 71.45, 320.25°)
OKLaboklab(61.48% 0.141 -0.1274)
OKLCHoklch(61.48% 0.19 317.9)
XYZxyz(32.7862, 20.6904, 60.0124)
Luminance0.2069 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B257CD #72CD57
analogous
#7757CD #B257CD #CD57AD
triadic
#B257CD #CDB257 #57CDB2
tetradic
#B257CD #CD7757 #72CD57 #57ADCD
square
#B257CD #CD7757 #72CD57 #57ADCD
split-complementary
#B257CD #ADCD57 #57CD77
monochromatic
#6E2783 #9535B2 #B257CD #C886DB #DDB5E9

Accessibility & contrast

On white

4.09
#B257CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#B257CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B257CD
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B257CD#FFFFFF#000000##000000
##B257CD1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B78D1
Deuteranopia (green-blind)
#5C81CA
Tritanopia (blue-blind)
#B26A8A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b257cd;
/* rgb */ color: rgb(178, 87, 205);
/* oklch */ color: oklch(61.5% 0.190 317.9);
Tailwind
colors: {
  custom: {
    50: '#cc8bdd',
    500: '#b257cd',
    950: '#000000',
  },
}
SCSS
$custom: #b257cd;
$custom-light: #cc8bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#b257cd",
  "rgb": {
    "r": 178,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 286.271,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61477,
    "c": 0.19007,
    "h": 317.9
  },
  "luminance": 0.20689
}

Semantic roles & 50–950 ramp

primary
#B257CD
secondary
#B3D8A8
accent
#DD4A6C
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B257CD

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

Preview Lab → · Contrast checker → · Palette generator →

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