#B271BE#B271BE

#B271BE is a light, vivid purple. Relative luminance 0.250; OKLCH L 64.5% C 0.132 H 321.2°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#B271BE
RGBrgb(178, 113, 190)
HSLhsl(291, 37%, 59%)
HSVhsv(291, 41%, 75%)
CMYKcmyk(6.3%, 40.5%, 0%, 25.5%)
CIE-LABlab(57.07, 38.44, -30.11)
CIE-LCHlch(57.07, 48.83, 321.93°)
OKLaboklab(64.55% 0.1027 -0.0826)
OKLCHoklch(64.55% 0.132 321.2)
XYZxyz(33.5584, 24.9941, 51.7618)
Luminance0.2499 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B271BE #7DBE71
analogous
#8C71BE #B271BE #BE71A4
triadic
#B271BE #BEB271 #71BEB2
tetradic
#B271BE #BE8C71 #7DBE71 #71A4BE
square
#B271BE #BE8C71 #7DBE71 #71A4BE
split-complementary
#B271BE #A4BE71 #71BE8C
monochromatic
#71397C #984CA6 #B271BE #C99BD1 #E0C5E4

Accessibility & contrast

On white

3.50
#B271BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#B271BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B271BE
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B271BE#FFFFFF#000000##000000
##B271BE1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6784C1
Deuteranopia (green-blind)
#788BBC
Tritanopia (blue-blind)
#B47A8F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b271be;
/* rgb */ color: rgb(178, 113, 190);
/* oklch */ color: oklch(64.5% 0.132 321.2);
Tailwind
colors: {
  custom: {
    50: '#ca9bd2',
    500: '#b271be',
    950: '#000000',
  },
}
SCSS
$custom: #b271be;
$custom-light: #ca9bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#b271be",
  "rgb": {
    "r": 178,
    "g": 113,
    "b": 190
  },
  "hsl": {
    "h": 290.649,
    "s": 37.198,
    "l": 59.412
  },
  "oklch": {
    "l": 0.64549,
    "c": 0.13185,
    "h": 321.2
  },
  "luminance": 0.24993
}

Semantic roles & 50–950 ramp

primary
#B271BE
secondary
#BBD4B6
accent
#CD5B6C
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #B271BE

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

Preview Lab → · Contrast checker → · Palette generator →

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