#B251C8#B251C8

#B251C8 is a mid, vivid purple. Relative luminance 0.195; OKLCH L 60.4% C 0.194 H 319.8°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#B251C8
RGBrgb(178, 81, 200)
HSLhsl(289, 52%, 55%)
HSVhsv(289, 60%, 78%)
CMYKcmyk(11%, 59.5%, 0%, 21.6%)
CIE-LABlab(51.29, 56.79, -44.91)
CIE-LCHlch(51.29, 72.40, 321.66°)
OKLaboklab(60.43% 0.1484 -0.1251)
OKLCHoklch(60.43% 0.194 319.8)
XYZxyz(31.7266, 19.5214, 56.7292)
Luminance0.1952 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B251C8 #67C851
analogous
#7751C8 #B251C8 #C851A2
triadic
#B251C8 #C8B251 #51C8B2
tetradic
#B251C8 #C87751 #67C851 #51A2C8
square
#B251C8 #C87751 #67C851 #51A2C8
split-complementary
#B251C8 #A2C851 #51C877
monochromatic
#692679 #9235A7 #B251C8 #C780D7 #DBAEE5

Accessibility & contrast

On white

4.28
#B251C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#B251C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B251C8
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B251C8#FFFFFF#000000##000000
##B251C81.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3573CC
Deuteranopia (green-blind)
#5A7EC5
Tritanopia (blue-blind)
#B36485
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b251c8;
/* rgb */ color: rgb(178, 81, 200);
/* oklch */ color: oklch(60.4% 0.194 319.8);
Tailwind
colors: {
  custom: {
    50: '#cc87d9',
    500: '#b251c8',
    950: '#000000',
  },
}
SCSS
$custom: #b251c8;
$custom-light: #cc87d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b251c8",
  "rgb": {
    "r": 178,
    "g": 81,
    "b": 200
  },
  "hsl": {
    "h": 288.908,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.6043,
    "c": 0.19409,
    "h": 319.8
  },
  "luminance": 0.1952
}

Semantic roles & 50–950 ramp

primary
#B251C8
secondary
#ABD3A1
accent
#DB4C67
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C15
muted
#827D83

Preview Lab

Preview with #B251C8

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

Preview Lab → · Contrast checker → · Palette generator →

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