#B251BE#B251BE

#B251BE is a mid, vivid purple. Relative luminance 0.191; OKLCH L 59.9% C 0.185 H 323.1°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#B251BE
RGBrgb(178, 81, 190)
HSLhsl(293, 46%, 53%)
HSVhsv(293, 57%, 75%)
CMYKcmyk(6.3%, 57.4%, 0%, 25.5%)
CIE-LABlab(50.77, 54.88, -39.98)
CIE-LCHlch(50.77, 67.89, 323.93°)
OKLaboklab(59.88% 0.1477 -0.1108)
OKLCHoklch(59.88% 0.185 323.1)
XYZxyz(30.5959, 19.0691, 50.7743)
Luminance0.1907 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B251BE #5DBE51
analogous
#7B51BE #B251BE #BE5194
triadic
#B251BE #BEB251 #51BEB2
tetradic
#B251BE #BE7B51 #5DBE51 #5194BE
square
#B251BE #BE7B51 #5DBE51 #5194BE
split-complementary
#B251BE #94BE51 #51BE7B
monochromatic
#65286C #8E3999 #B251BE #C67ECF #D9AADF

Accessibility & contrast

On white

4.36
#B251BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#B251BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B251BE
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B251BE#FFFFFF#000000##000000
##B251BE1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E72C1
Deuteranopia (green-blind)
#607DBB
Tritanopia (blue-blind)
#B56080
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b251be;
/* rgb */ color: rgb(178, 81, 190);
/* oklch */ color: oklch(59.9% 0.185 323.1);
Tailwind
colors: {
  custom: {
    50: '#cc87d2',
    500: '#b251be',
    950: '#000000',
  },
}
SCSS
$custom: #b251be;
$custom-light: #cc87d2;
$custom-dark: #000000;
JSON
{
  "hex": "#b251be",
  "rgb": {
    "r": 178,
    "g": 81,
    "b": 190
  },
  "hsl": {
    "h": 293.394,
    "s": 45.607,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59878,
    "c": 0.18467,
    "h": 323.1
  },
  "luminance": 0.19068
}

Semantic roles & 50–950 ramp

primary
#B251BE
secondary
#A3CD9E
accent
#D55361
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B251BE

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

Preview Lab → · Contrast checker → · Palette generator →

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