#B272BF#B272BF

#B272BF is a light, vivid purple. Relative luminance 0.253; OKLCH L 64.8% C 0.131 H 320.7°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#B272BF
RGBrgb(178, 114, 191)
HSLhsl(290, 38%, 60%)
HSVhsv(290, 40%, 75%)
CMYKcmyk(6.8%, 40.3%, 0%, 25.1%)
CIE-LABlab(57.33, 38.09, -30.28)
CIE-LCHlch(57.33, 48.66, 321.52°)
OKLaboklab(64.76% 0.1015 -0.0831)
OKLCHoklch(64.76% 0.131 320.7)
XYZxyz(33.7802, 25.2623, 52.3768)
Luminance0.2526 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B272BF #7FBF72
analogous
#8C72BF #B272BF #BF72A6
triadic
#B272BF #BFB272 #72BFB2
tetradic
#B272BF #BF8C72 #7FBF72 #72A6BF
square
#B272BF #BF8C72 #7FBF72 #72A6BF
split-complementary
#B272BF #A6BF72 #72BF8C
monochromatic
#72397E #984CA8 #B272BF #C99CD2 #E0C6E5

Accessibility & contrast

On white

3.47
#B272BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#B272BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B272BF
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B272BF#FFFFFF#000000##000000
##B272BF1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6885C2
Deuteranopia (green-blind)
#798CBD
Tritanopia (blue-blind)
#B37B8F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b272bf;
/* rgb */ color: rgb(178, 114, 191);
/* oklch */ color: oklch(64.8% 0.131 320.7);
Tailwind
colors: {
  custom: {
    50: '#ca9cd2',
    500: '#b272bf',
    950: '#000000',
  },
}
SCSS
$custom: #b272bf;
$custom-light: #ca9cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#b272bf",
  "rgb": {
    "r": 178,
    "g": 114,
    "b": 191
  },
  "hsl": {
    "h": 289.87,
    "s": 37.561,
    "l": 59.804
  },
  "oklch": {
    "l": 0.64758,
    "c": 0.13117,
    "h": 320.7
  },
  "luminance": 0.25261
}

Semantic roles & 50–950 ramp

primary
#B272BF
secondary
#BDD5B8
accent
#CE5A6E
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #B272BF

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

Preview Lab → · Contrast checker → · Palette generator →

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