#B127EA#B127EA

#B127EA is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.7% C 0.269 H 312.7°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#B127EA
RGBrgb(177, 39, 234)
HSLhsl(282, 82%, 54%)
HSVhsv(282, 83%, 92%)
CMYKcmyk(24.4%, 83.3%, 0%, 8.2%)
CIE-LABlab(47.93, 78.35, -69.70)
CIE-LCHlch(47.93, 104.87, 318.34°)
OKLaboklab(58.69% 0.1826 -0.1975)
OKLCHoklch(58.69% 0.269 312.7)
XYZxyz(33.7056, 16.7397, 79.2815)
Luminance0.1674 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B127EA #60EA27
analogous
#5027EA #B127EA #EA27C1
triadic
#B127EA #EAB127 #27EAB1
tetradic
#B127EA #EA5027 #60EA27 #27C1EA
square
#B127EA #EA5027 #60EA27 #27C1EA
split-complementary
#B127EA #C1EA27 #27EA50
monochromatic
#650D89 #8E13C1 #B127EA #C55FEF #D997F5

Accessibility & contrast

On white

4.83
#B127EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#B127EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B127EA
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B127EA#FFFFFF#000000##FFFFFF
##B127EA1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEF
Deuteranopia (green-blind)
#0074E6
Tritanopia (blue-blind)
#AA5C8D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b127ea;
/* rgb */ color: rgb(177, 39, 234);
/* oklch */ color: oklch(58.7% 0.269 312.7);
Tailwind
colors: {
  custom: {
    50: '#ce75f2',
    500: '#b127ea',
    950: '#000000',
  },
}
SCSS
$custom: #b127ea;
$custom-light: #ce75f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b127ea",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 234
  },
  "hsl": {
    "h": 282.462,
    "s": 82.278,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58688,
    "c": 0.26899,
    "h": 312.7
  },
  "luminance": 0.16739
}

Semantic roles & 50–950 ramp

primary
#B127EA
secondary
#A5E08D
accent
#F92F6A
background
#FDF7FE
surface
#FAEEFD
border
#D3C9D5
text
#150A17
muted
#837C85

Preview Lab

Preview with #B127EA

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

Preview Lab → · Contrast checker → · Palette generator →

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