#B251D6#B251D6

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

Color values

HEX#B251D6
RGBrgb(178, 81, 214)
HSLhsl(284, 62%, 58%)
HSVhsv(284, 62%, 84%)
CMYKcmyk(16.8%, 62.1%, 0%, 16.1%)
CIE-LABlab(52.07, 59.57, -51.68)
CIE-LCHlch(52.07, 78.86, 319.06°)
OKLaboklab(61.25% 0.1486 -0.1449)
OKLCHoklch(61.25% 0.208 315.7)
XYZxyz(33.4382, 20.2060, 65.7440)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B251D6 #75D651
analogous
#6F51D6 #B251D6 #D651B8
triadic
#B251D6 #D6B251 #51D6B2
tetradic
#B251D6 #D66F51 #75D651 #51B8D6
square
#B251D6 #D66F51 #75D651 #51B8D6
split-complementary
#B251D6 #B8D651 #51D66F
monochromatic
#6F218C #962DBD #B251D6 #C883E2 #DEB4ED

Accessibility & contrast

On white

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

On black

5.04
#B251D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B251D6
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B251D6#FFFFFF#000000##000000
##B251D61.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2376DA
Deuteranopia (green-blind)
#507FD3
Tritanopia (blue-blind)
#B0698C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b251d6;
/* rgb */ color: rgb(178, 81, 214);
/* oklch */ color: oklch(61.2% 0.208 315.7);
Tailwind
colors: {
  custom: {
    50: '#cc88e3',
    500: '#b251d6',
    950: '#000000',
  },
}
SCSS
$custom: #b251d6;
$custom-light: #cc88e3;
$custom-dark: #000000;
JSON
{
  "hex": "#b251d6",
  "rgb": {
    "r": 178,
    "g": 81,
    "b": 214
  },
  "hsl": {
    "h": 283.759,
    "s": 61.86,
    "l": 57.843
  },
  "oklch": {
    "l": 0.61246,
    "c": 0.20755,
    "h": 315.7
  },
  "luminance": 0.20205
}

Semantic roles & 50–950 ramp

primary
#B251D6
secondary
#B5DCA7
accent
#E5436F
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C15
muted
#827D84

Preview Lab

Preview with #B251D6

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

Preview Lab → · Contrast checker → · Palette generator →

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