#B251CE#B251CE

#B251CE is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.8% C 0.200 H 318.0°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#B251CE
RGBrgb(178, 81, 206)
HSLhsl(287, 56%, 56%)
HSVhsv(287, 61%, 81%)
CMYKcmyk(13.6%, 60.7%, 0%, 19.2%)
CIE-LABlab(51.62, 57.97, -47.83)
CIE-LCHlch(51.62, 75.16, 320.47°)
OKLaboklab(60.77% 0.1485 -0.1337)
OKLCHoklch(60.77% 0.2 318)
XYZxyz(32.4416, 19.8074, 60.4949)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B251CE #6DCE51
analogous
#7451CE #B251CE #CE51AC
triadic
#B251CE #CEB251 #51CEB2
tetradic
#B251CE #CE7451 #6DCE51 #51ACCE
square
#B251CE #CE7451 #6DCE51 #51ACCE
split-complementary
#B251CE #ACCE51 #51CE74
monochromatic
#6C2480 #9432B0 #B251CE #C781DB #DCB1E9

Accessibility & contrast

On white

4.23
#B251CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#B251CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B251CE
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B251CE#FFFFFF#000000##000000
##B251CE1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F75D2
Deuteranopia (green-blind)
#567ECB
Tritanopia (blue-blind)
#B16688
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b251ce;
/* rgb */ color: rgb(178, 81, 206);
/* oklch */ color: oklch(60.8% 0.200 318.0);
Tailwind
colors: {
  custom: {
    50: '#cc87dd',
    500: '#b251ce',
    950: '#000000',
  },
}
SCSS
$custom: #b251ce;
$custom-light: #cc87dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b251ce",
  "rgb": {
    "r": 178,
    "g": 81,
    "b": 206
  },
  "hsl": {
    "h": 286.56,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60773,
    "c": 0.19982,
    "h": 318
  },
  "luminance": 0.19806
}

Semantic roles & 50–950 ramp

primary
#B251CE
secondary
#AFD7A4
accent
#DF486A
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B251CE

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

Preview Lab → · Contrast checker → · Palette generator →

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