#B123BC#B123BC

#B123BC is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.3% C 0.236 H 324.8°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#B123BC
RGBrgb(177, 35, 188)
HSLhsl(296, 69%, 44%)
HSVhsv(296, 81%, 74%)
CMYKcmyk(5.9%, 81.4%, 0%, 26.3%)
CIE-LABlab(44.49, 71.19, -48.80)
CIE-LCHlch(44.49, 86.31, 325.57°)
OKLaboklab(55.3% 0.1931 -0.1362)
OKLCHoklch(55.3% 0.236 324.8)
XYZxyz(27.8089, 14.1819, 48.8399)
Luminance0.1418 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B123BC #2EBC23
analogous
#6423BC #B123BC #BC237A
triadic
#B123BC #BCB123 #23BCB1
tetradic
#B123BC #BC6423 #2EBC23 #237ABC
square
#B123BC #BC6423 #2EBC23 #237ABC
split-complementary
#B123BC #7ABC23 #23BC64
monochromatic
#501055 #801988 #B123BC #D041DC #DD74E5

Accessibility & contrast

On white

5.47
#B123BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#B123BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B123BC
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B123BC#FFFFFF#000000##FFFFFF
##B123BC1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#466FB9
Tritanopia (blue-blind)
#B54371
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b123bc;
/* rgb */ color: rgb(177, 35, 188);
/* oklch */ color: oklch(55.3% 0.236 324.8);
Tailwind
colors: {
  custom: {
    50: '#cd71d1',
    500: '#b123bc',
    950: '#000000',
  },
}
SCSS
$custom: #b123bc;
$custom-light: #cd71d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b123bc",
  "rgb": {
    "r": 177,
    "g": 35,
    "b": 188
  },
  "hsl": {
    "h": 295.686,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55299,
    "c": 0.23626,
    "h": 324.8
  },
  "luminance": 0.1418
}

Semantic roles & 50–950 ramp

primary
#B123BC
secondary
#75CC6F
accent
#EB3C49
background
#FDF7FC
surface
#FAEDF9
border
#D3C8D2
text
#140914
muted
#837B82

Preview Lab

Preview with #B123BC

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

Preview Lab → · Contrast checker → · Palette generator →

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