#B272CD#B272CD

#B272CD is a light, vivid purple. Relative luminance 0.259; OKLCH L 65.4% C 0.147 H 315.3°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#B272CD
RGBrgb(178, 114, 205)
HSLhsl(282, 48%, 63%)
HSVhsv(282, 44%, 80%)
CMYKcmyk(13.2%, 44.4%, 0%, 19.6%)
CIE-LABlab(57.95, 40.98, -37.27)
CIE-LCHlch(57.95, 55.39, 317.71°)
OKLaboklab(65.43% 0.1041 -0.1032)
OKLCHoklch(65.43% 0.147 315.3)
XYZxyz(35.3951, 25.9083, 60.8820)
Luminance0.2591 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B272CD #8DCD72
analogous
#8572CD #B272CD #CD72BA
triadic
#B272CD #CDB272 #72CDB2
tetradic
#B272CD #CD8572 #8DCD72 #72BACD
square
#B272CD #CD8572 #8DCD72 #72BACD
split-complementary
#B272CD #BACD72 #72CD85
monochromatic
#753391 #9945BD #B272CD #CB9FDD #E3CCED

Accessibility & contrast

On white

3.40
#B272CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#B272CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B272CD
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B272CD#FFFFFF#000000##000000
##B272CD1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6187D0
Deuteranopia (green-blind)
#728DCA
Tritanopia (blue-blind)
#B17F96
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b272cd;
/* rgb */ color: rgb(178, 114, 205);
/* oklch */ color: oklch(65.4% 0.147 315.3);
Tailwind
colors: {
  custom: {
    50: '#ca9cdc',
    500: '#b272cd',
    950: '#000000',
  },
}
SCSS
$custom: #b272cd;
$custom-light: #ca9cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#b272cd",
  "rgb": {
    "r": 178,
    "g": 114,
    "b": 205
  },
  "hsl": {
    "h": 282.198,
    "s": 47.644,
    "l": 62.549
  },
  "oklch": {
    "l": 0.65426,
    "c": 0.14661,
    "h": 315.3
  },
  "luminance": 0.25907
}

Semantic roles & 50–950 ramp

primary
#B272CD
secondary
#C7DEBD
accent
#BB2B55
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #B272CD

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

Preview Lab → · Contrast checker → · Palette generator →

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