#B251D5#B251D5

#B251D5 is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.2% C 0.207 H 316.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#B251D5
RGBrgb(178, 81, 213)
HSLhsl(284, 61%, 58%)
HSVhsv(284, 62%, 84%)
CMYKcmyk(16.4%, 62%, 0%, 16.5%)
CIE-LABlab(52.01, 59.37, -51.20)
CIE-LCHlch(52.01, 78.40, 319.22°)
OKLaboklab(61.19% 0.1486 -0.1435)
OKLCHoklch(61.19% 0.207 316)
XYZxyz(33.3109, 20.1551, 65.0735)
Luminance0.2015 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B251D5 #74D551
analogous
#7051D5 #B251D5 #D551B6
triadic
#B251D5 #D5B251 #51D5B2
tetradic
#B251D5 #D57051 #74D551 #51B6D5
square
#B251D5 #D57051 #74D551 #51B6D5
split-complementary
#B251D5 #B6D551 #51D570
monochromatic
#6E218A #962DBC #B251D5 #C882E1 #DEB4ED

Accessibility & contrast

On white

4.17
#B251D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#B251D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B251D5
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B251D5#FFFFFF#000000##000000
##B251D51.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2576D9
Deuteranopia (green-blind)
#517FD2
Tritanopia (blue-blind)
#B0698C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b251d5;
/* rgb */ color: rgb(178, 81, 213);
/* oklch */ color: oklch(61.2% 0.207 316.0);
Tailwind
colors: {
  custom: {
    50: '#cc87e2',
    500: '#b251d5',
    950: '#000000',
  },
}
SCSS
$custom: #b251d5;
$custom-light: #cc87e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b251d5",
  "rgb": {
    "r": 178,
    "g": 81,
    "b": 213
  },
  "hsl": {
    "h": 284.091,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.61186,
    "c": 0.20658,
    "h": 316
  },
  "luminance": 0.20154
}

Semantic roles & 50–950 ramp

primary
#B251D5
secondary
#B4DBA6
accent
#E4446E
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B251D5

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

Preview Lab → · Contrast checker → · Palette generator →

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