#BF27C4#BF27C4

#BF27C4 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 58.1% C 0.245 H 326.7°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#BF27C4
RGBrgb(191, 39, 196)
HSLhsl(298, 67%, 46%)
HSVhsv(298, 80%, 77%)
CMYKcmyk(2.6%, 80.1%, 0%, 23.1%)
CIE-LABlab(47.64, 74.14, -48.29)
CIE-LCHlch(47.64, 88.48, 326.92°)
OKLaboklab(58.13% 0.2046 -0.1344)
OKLCHoklch(58.13% 0.245 326.7)
XYZxyz(32.1746, 16.5152, 53.7070)
Luminance0.1651 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF27C4 #2CC427
analogous
#7027C4 #BF27C4 #C4277A
triadic
#BF27C4 #C4BF27 #27C4BF
tetradic
#BF27C4 #C47027 #2CC427 #277AC4
square
#BF27C4 #C47027 #2CC427 #277AC4
split-complementary
#BF27C4 #7AC427 #27C470
monochromatic
#5C135E #8D1D91 #BF27C4 #D74DDC #E280E6

Accessibility & contrast

On white

4.88
#BF27C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#BF27C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BF27C4
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF27C4#FFFFFF#000000##FFFFFF
##BF27C41.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C8
Deuteranopia (green-blind)
#5177C0
Tritanopia (blue-blind)
#C44577
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #bf27c4;
/* rgb */ color: rgb(191, 39, 196);
/* oklch */ color: oklch(58.1% 0.245 326.7);
Tailwind
colors: {
  custom: {
    50: '#d775d6',
    500: '#bf27c4',
    950: '#000000',
  },
}
SCSS
$custom: #bf27c4;
$custom-light: #d775d6;
$custom-dark: #000000;
JSON
{
  "hex": "#bf27c4",
  "rgb": {
    "r": 191,
    "g": 39,
    "b": 196
  },
  "hsl": {
    "h": 298.089,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.58127,
    "c": 0.24473,
    "h": 326.7
  },
  "luminance": 0.16513
}

Semantic roles & 50–950 ramp

primary
#BF27C4
secondary
#7BCE79
accent
#EA3E44
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #BF27C4

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

Preview Lab → · Contrast checker → · Palette generator →

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