#B117A6#B117A6

#B117A6 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.4% C 0.229 H 331.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#B117A6
RGBrgb(177, 23, 166)
HSLhsl(304, 77%, 39%)
HSVhsv(304, 87%, 69%)
CMYKcmyk(0%, 87%, 6.2%, 30.6%)
CIE-LABlab(42.33, 70.30, -39.23)
CIE-LCHlch(42.33, 80.50, 330.83°)
OKLaboklab(53.36% 0.2016 -0.1083)
OKLCHoklch(53.36% 0.229 331.8)
XYZxyz(25.3209, 12.7153, 37.1897)
Luminance0.1271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B117A6 #17B122
analogous
#6F17B1 #B117A6 #B11759
triadic
#B117A6 #A6B117 #17A6B1
tetradic
#B117A6 #B16F17 #17B122 #1759B1
square
#B117A6 #B16F17 #17B122 #1759B1
split-complementary
#B117A6 #59B117 #17B16F
monochromatic
#450940 #7B1073 #B117A6 #E223D5 #E959DF

Accessibility & contrast

On white

5.93
#B117A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#B117A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B117A6
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B117A6#FFFFFF#000000##FFFFFF
##B117A61.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A9
Deuteranopia (green-blind)
#516BA3
Tritanopia (blue-blind)
#B93063
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b117a6;
/* rgb */ color: rgb(177, 23, 166);
/* oklch */ color: oklch(53.4% 0.229 331.8);
Tailwind
colors: {
  custom: {
    50: '#cd6dc1',
    500: '#b117a6',
    950: '#000000',
  },
}
SCSS
$custom: #b117a6;
$custom-light: #cd6dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#b117a6",
  "rgb": {
    "r": 177,
    "g": 23,
    "b": 166
  },
  "hsl": {
    "h": 304.286,
    "s": 77,
    "l": 39.216
  },
  "oklch": {
    "l": 0.53355,
    "c": 0.22879,
    "h": 331.8
  },
  "luminance": 0.12713
}

Semantic roles & 50–950 ramp

primary
#B117A6
secondary
#57CD5F
accent
#F44234
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140812
muted
#837B81

Preview Lab

Preview with #B117A6

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

Preview Lab → · Contrast checker → · Palette generator →

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