#B124E3#B124E3

#B124E3 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 58.0% C 0.265 H 314.5°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#B124E3
RGBrgb(177, 36, 227)
HSLhsl(284, 77%, 52%)
HSVhsv(284, 84%, 89%)
CMYKcmyk(22%, 84.1%, 0%, 11%)
CIE-LABlab(47.18, 77.76, -66.96)
CIE-LCHlch(47.18, 102.62, 319.27°)
OKLaboklab(58.01% 0.186 -0.1894)
OKLCHoklch(58.01% 0.265 314.5)
XYZxyz(32.6251, 16.1561, 74.0580)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B124E3 #56E324
analogous
#5224E3 #B124E3 #E324B6
triadic
#B124E3 #E3B124 #24E3B1
tetradic
#B124E3 #E35224 #56E324 #24B6E3
square
#B124E3 #E35224 #56E324 #24B6E3
split-complementary
#B124E3 #B6E324 #24E352
monochromatic
#60107D #8A17B3 #B124E3 #C45AEA #D891F1

Accessibility & contrast

On white

4.96
#B124E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#B124E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B124E3
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B124E3#FFFFFF#000000##FFFFFF
##B124E31.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E8
Deuteranopia (green-blind)
#0573DF
Tritanopia (blue-blind)
#AC5788
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b124e3;
/* rgb */ color: rgb(177, 36, 227);
/* oklch */ color: oklch(58.0% 0.265 314.5);
Tailwind
colors: {
  custom: {
    50: '#ce74ed',
    500: '#b124e3',
    950: '#000000',
  },
}
SCSS
$custom: #b124e3;
$custom-light: #ce74ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b124e3",
  "rgb": {
    "r": 177,
    "g": 36,
    "b": 227
  },
  "hsl": {
    "h": 284.293,
    "s": 77.328,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58006,
    "c": 0.26547,
    "h": 314.5
  },
  "luminance": 0.16155
}

Semantic roles & 50–950 ramp

primary
#B124E3
secondary
#9DDB87
accent
#F43466
background
#FDF7FE
surface
#FAEEFD
border
#D3C9D5
text
#140916
muted
#837B84

Preview Lab

Preview with #B124E3

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

Preview Lab → · Contrast checker → · Palette generator →

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