#B251C2#B251C2

#B251C2 is a mid, vivid purple. Relative luminance 0.192; OKLCH L 60.1% C 0.188 H 321.8°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#B251C2
RGBrgb(178, 81, 194)
HSLhsl(292, 48%, 54%)
HSVhsv(292, 58%, 76%)
CMYKcmyk(8.2%, 58.2%, 0%, 23.9%)
CIE-LABlab(50.97, 55.64, -41.96)
CIE-LCHlch(50.97, 69.69, 322.98°)
OKLaboklab(60.1% 0.148 -0.1166)
OKLCHoklch(60.1% 0.188 321.8)
XYZxyz(31.0391, 19.2464, 53.1084)
Luminance0.1925 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B251C2 #61C251
analogous
#7A51C2 #B251C2 #C2519A
triadic
#B251C2 #C2B251 #51C2B2
tetradic
#B251C2 #C27A51 #61C251 #519AC2
square
#B251C2 #C27A51 #61C251 #519AC2
split-complementary
#B251C2 #9AC251 #51C27A
monochromatic
#672871 #90379E #B251C2 #C67ED2 #DAACE2

Accessibility & contrast

On white

4.33
#B251C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#B251C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B251C2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B251C2#FFFFFF#000000##000000
##B251C21.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B72C6
Deuteranopia (green-blind)
#5E7DBF
Tritanopia (blue-blind)
#B46282
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b251c2;
/* rgb */ color: rgb(178, 81, 194);
/* oklch */ color: oklch(60.1% 0.188 321.8);
Tailwind
colors: {
  custom: {
    50: '#cc87d5',
    500: '#b251c2',
    950: '#000000',
  },
}
SCSS
$custom: #b251c2;
$custom-light: #cc87d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b251c2",
  "rgb": {
    "r": 178,
    "g": 81,
    "b": 194
  },
  "hsl": {
    "h": 291.504,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60096,
    "c": 0.18841,
    "h": 321.8
  },
  "luminance": 0.19245
}

Semantic roles & 50–950 ramp

primary
#B251C2
secondary
#A6D09F
accent
#D85063
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C14
muted
#827D83

Preview Lab

Preview with #B251C2

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

Preview Lab → · Contrast checker → · Palette generator →

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