#B214A2#B214A2

#B214A2 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.2% C 0.228 H 333.4°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#B214A2
RGBrgb(178, 20, 162)
HSLhsl(306, 80%, 39%)
HSVhsv(306, 89%, 70%)
CMYKcmyk(0%, 88.8%, 9%, 30.2%)
CIE-LABlab(42.12, 70.42, -37.16)
CIE-LCHlch(42.12, 79.62, 332.18°)
OKLaboklab(53.17% 0.2041 -0.1022)
OKLCHoklch(53.17% 0.228 333.4)
XYZxyz(25.1321, 12.5762, 35.2793)
Luminance0.1257 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B214A2 #14B224
analogous
#7314B2 #B214A2 #B21453
triadic
#B214A2 #A2B214 #14A2B2
tetradic
#B214A2 #B27314 #14B224 #1453B2
square
#B214A2 #B27314 #14B224 #1453B2
split-complementary
#B214A2 #53B214 #14B273
monochromatic
#44083E #7B0E70 #B214A2 #E61ED1 #EC55DD

Accessibility & contrast

On white

5.97
#B214A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#B214A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B214A2
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B214A2#FFFFFF#000000##FFFFFF
##B214A21.005.973.515.97
#FFFFFF5.971.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0456A5
Deuteranopia (green-blind)
#536B9F
Tritanopia (blue-blind)
#BA2C60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b214a2;
/* rgb */ color: rgb(178, 20, 162);
/* oklch */ color: oklch(53.2% 0.228 333.4);
Tailwind
colors: {
  custom: {
    50: '#cd6cbe',
    500: '#b214a2',
    950: '#000000',
  },
}
SCSS
$custom: #b214a2;
$custom-light: #cd6cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#b214a2",
  "rgb": {
    "r": 178,
    "g": 20,
    "b": 162
  },
  "hsl": {
    "h": 306.076,
    "s": 79.798,
    "l": 38.824
  },
  "oklch": {
    "l": 0.53166,
    "c": 0.22824,
    "h": 333.4
  },
  "luminance": 0.12574
}

Semantic roles & 50–950 ramp

primary
#B214A2
secondary
#53CE60
accent
#F64532
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140812
muted
#837B81

Preview Lab

Preview with #B214A2

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

Preview Lab → · Contrast checker → · Palette generator →

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