#B051CF#B051CF

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

Color values

HEX#B051CF
RGBrgb(176, 81, 207)
HSLhsl(285, 57%, 56%)
HSVhsv(285, 61%, 81%)
CMYKcmyk(15%, 60.9%, 0%, 18.8%)
CIE-LABlab(51.41, 57.68, -48.76)
CIE-LCHlch(51.41, 75.53, 319.79°)
OKLaboklab(60.58% 0.1462 -0.1364)
OKLCHoklch(60.58% 0.2 317)
XYZxyz(32.1078, 19.6212, 61.1153)
Luminance0.1962 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B051CF #70CF51
analogous
#7151CF #B051CF #CF51AF
triadic
#B051CF #CFB051 #51CFB0
tetradic
#B051CF #CF7151 #70CF51 #51AFCF
square
#B051CF #CF7151 #70CF51 #51AFCF
split-complementary
#B051CF #AFCF51 #51CF71
monochromatic
#6B2482 #9231B2 #B051CF #C681DC #DCB1E9

Accessibility & contrast

On white

4.26
#B051CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B051CF#FFFFFF#000000##000000
##B051CF1.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C75D3
Deuteranopia (green-blind)
#547DCC
Tritanopia (blue-blind)
#AF6789
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b051cf;
/* rgb */ color: rgb(176, 81, 207);
/* oklch */ color: oklch(60.6% 0.200 317.0);
Tailwind
colors: {
  custom: {
    50: '#cb87de',
    500: '#b051cf',
    950: '#000000',
  },
}
SCSS
$custom: #b051cf;
$custom-light: #cb87de;
$custom-dark: #000000;
JSON
{
  "hex": "#b051cf",
  "rgb": {
    "r": 176,
    "g": 81,
    "b": 207
  },
  "hsl": {
    "h": 285.238,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60581,
    "c": 0.19993,
    "h": 317
  },
  "luminance": 0.1962
}

Semantic roles & 50–950 ramp

primary
#B051CF
secondary
#B1D8A4
accent
#E0486D
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B051CF

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

Preview Lab → · Contrast checker → · Palette generator →

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