#B251CF#B251CF

#B251CF is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 60.8% C 0.201 H 317.7°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#B251CF
RGBrgb(178, 81, 207)
HSLhsl(286, 57%, 56%)
HSVhsv(286, 61%, 81%)
CMYKcmyk(14%, 60.9%, 0%, 18.8%)
CIE-LABlab(51.67, 58.17, -48.32)
CIE-LCHlch(51.67, 75.62, 320.28°)
OKLaboklab(60.83% 0.1486 -0.1351)
OKLCHoklch(60.83% 0.201 317.7)
XYZxyz(32.5634, 19.8561, 61.1367)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B251CF #6ECF51
analogous
#7351CF #B251CF #CF51AD
triadic
#B251CF #CFB251 #51CFB2
tetradic
#B251CF #CF7351 #6ECF51 #51ADCF
square
#B251CF #CF7351 #6ECF51 #51ADCF
split-complementary
#B251CF #ADCF51 #51CF73
monochromatic
#6C2482 #9431B2 #B251CF #C781DC #DCB1E9

Accessibility & contrast

On white

4.22
#B251CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#B251CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B251CF
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B251CF#FFFFFF#000000##000000
##B251CF1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D75D3
Deuteranopia (green-blind)
#567ECC
Tritanopia (blue-blind)
#B16689
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b251cf;
/* rgb */ color: rgb(178, 81, 207);
/* oklch */ color: oklch(60.8% 0.201 317.7);
Tailwind
colors: {
  custom: {
    50: '#cc87de',
    500: '#b251cf',
    950: '#000000',
  },
}
SCSS
$custom: #b251cf;
$custom-light: #cc87de;
$custom-dark: #000000;
JSON
{
  "hex": "#b251cf",
  "rgb": {
    "r": 178,
    "g": 81,
    "b": 207
  },
  "hsl": {
    "h": 286.19,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60832,
    "c": 0.20078,
    "h": 317.7
  },
  "luminance": 0.19855
}

Semantic roles & 50–950 ramp

primary
#B251CF
secondary
#B0D8A4
accent
#E0486B
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B251CF

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

Preview Lab → · Contrast checker → · Palette generator →

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