#BE27A5#BE27A5

#BE27A5 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.2% C 0.223 H 336.1°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#BE27A5
RGBrgb(190, 39, 165)
HSLhsl(310, 66%, 45%)
HSVhsv(310, 79%, 75%)
CMYKcmyk(0%, 79.5%, 13.2%, 25.5%)
CIE-LABlab(45.79, 69.29, -33.01)
CIE-LCHlch(45.79, 76.75, 334.52°)
OKLaboklab(56.24% 0.2036 -0.0901)
OKLCHoklch(56.24% 0.223 336.1)
XYZxyz(28.7528, 15.1175, 36.9937)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE27A5 #27BE40
analogous
#8C27BE #BE27A5 #BE2759
triadic
#BE27A5 #A5BE27 #27A5BE
tetradic
#BE27A5 #BE8C27 #27BE40 #2759BE
square
#BE27A5 #BE8C27 #27BE40 #2759BE
split-complementary
#BE27A5 #59BE27 #27BE8C
monochromatic
#58124D #8B1D79 #BE27A5 #DA49C2 #E47BD3

Accessibility & contrast

On white

5.22
#BE27A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#BE27A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BE27A5
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE27A5#FFFFFF#000000##FFFFFF
##BE27A51.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5EA8
Deuteranopia (green-blind)
#6174A2
Tritanopia (blue-blind)
#C83465
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #be27a5;
/* rgb */ color: rgb(190, 39, 165);
/* oklch */ color: oklch(56.2% 0.223 336.1);
Tailwind
colors: {
  custom: {
    50: '#d674c0',
    500: '#be27a5',
    950: '#000000',
  },
}
SCSS
$custom: #be27a5;
$custom-light: #d674c0;
$custom-dark: #000000;
JSON
{
  "hex": "#be27a5",
  "rgb": {
    "r": 190,
    "g": 39,
    "b": 165
  },
  "hsl": {
    "h": 309.934,
    "s": 65.939,
    "l": 44.902
  },
  "oklch": {
    "l": 0.56236,
    "c": 0.22264,
    "h": 336.1
  },
  "luminance": 0.15115
}

Semantic roles & 50–950 ramp

primary
#BE27A5
secondary
#75CC83
accent
#E95B3F
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BE27A5

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

Preview Lab → · Contrast checker → · Palette generator →

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