#B251CA#B251CA

#B251CA is a mid, vivid purple. Relative luminance 0.196; OKLCH L 60.5% C 0.196 H 319.2°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#B251CA
RGBrgb(178, 81, 202)
HSLhsl(288, 53%, 55%)
HSVhsv(288, 60%, 79%)
CMYKcmyk(11.9%, 59.9%, 0%, 20.8%)
CIE-LABlab(51.40, 57.18, -45.89)
CIE-LCHlch(51.40, 73.32, 321.25°)
OKLaboklab(60.54% 0.1484 -0.128)
OKLCHoklch(60.54% 0.196 319.2)
XYZxyz(31.9618, 19.6155, 57.9682)
Luminance0.1961 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B251CA #69CA51
analogous
#7551CA #B251CA #CA51A5
triadic
#B251CA #CAB251 #51CAB2
tetradic
#B251CA #CA7551 #69CA51 #51A5CA
square
#B251CA #CA7551 #69CA51 #51A5CA
split-complementary
#B251CA #A5CA51 #51CA75
monochromatic
#6A257B #9334AA #B251CA #C780D8 #DCAFE7

Accessibility & contrast

On white

4.27
#B251CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#B251CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B251CA
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B251CA#FFFFFF#000000##000000
##B251CA1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3374CE
Deuteranopia (green-blind)
#597EC7
Tritanopia (blue-blind)
#B26586
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b251ca;
/* rgb */ color: rgb(178, 81, 202);
/* oklch */ color: oklch(60.5% 0.196 319.2);
Tailwind
colors: {
  custom: {
    50: '#cc87db',
    500: '#b251ca',
    950: '#000000',
  },
}
SCSS
$custom: #b251ca;
$custom-light: #cc87db;
$custom-dark: #000000;
JSON
{
  "hex": "#b251ca",
  "rgb": {
    "r": 178,
    "g": 81,
    "b": 202
  },
  "hsl": {
    "h": 288.099,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60543,
    "c": 0.19599,
    "h": 319.2
  },
  "luminance": 0.19614
}

Semantic roles & 50–950 ramp

primary
#B251CA
secondary
#ACD5A2
accent
#DD4B68
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B251CA

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

Preview Lab → · Contrast checker → · Palette generator →

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