#BD26C7#BD26C7

#BD26C7 is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 58.0% C 0.247 H 325.3°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#BD26C7
RGBrgb(189, 38, 199)
HSLhsl(296, 68%, 46%)
HSVhsv(296, 81%, 78%)
CMYKcmyk(5%, 80.9%, 0%, 22%)
CIE-LABlab(47.41, 74.49, -50.43)
CIE-LCHlch(47.41, 89.96, 325.90°)
OKLaboklab(57.95% 0.2029 -0.1406)
OKLCHoklch(57.95% 0.247 325.3)
XYZxyz(31.9874, 16.3308, 55.4891)
Luminance0.1633 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD26C7 #30C726
analogous
#6D26C7 #BD26C7 #C72681
triadic
#BD26C7 #C7BD26 #26C7BD
tetradic
#BD26C7 #C76D26 #30C726 #2681C7
square
#BD26C7 #C76D26 #30C726 #2681C7
split-complementary
#BD26C7 #81C726 #26C76D
monochromatic
#5B1260 #8C1C94 #BD26C7 #D44DDD #E081E7

Accessibility & contrast

On white

4.92
#BD26C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#BD26C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD26C7
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD26C7#FFFFFF#000000##FFFFFF
##BD26C71.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CB
Deuteranopia (green-blind)
#4D76C3
Tritanopia (blue-blind)
#C14778
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #bd26c7;
/* rgb */ color: rgb(189, 38, 199);
/* oklch */ color: oklch(58.0% 0.247 325.3);
Tailwind
colors: {
  custom: {
    50: '#d575d9',
    500: '#bd26c7',
    950: '#000000',
  },
}
SCSS
$custom: #bd26c7;
$custom-light: #d575d9;
$custom-dark: #000000;
JSON
{
  "hex": "#bd26c7",
  "rgb": {
    "r": 189,
    "g": 38,
    "b": 199
  },
  "hsl": {
    "h": 296.273,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.57952,
    "c": 0.24687,
    "h": 325.3
  },
  "luminance": 0.16329
}

Semantic roles & 50–950 ramp

primary
#BD26C7
secondary
#7FCF79
accent
#EB3D48
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A15
muted
#837C83

Preview Lab

Preview with #BD26C7

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

Preview Lab → · Contrast checker → · Palette generator →

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