#B174BB#B174BB

#B174BB is a light, vivid purple. Relative luminance 0.254; OKLCH L 64.8% C 0.123 H 321.8°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#B174BB
RGBrgb(177, 116, 187)
HSLhsl(292, 34%, 59%)
HSVhsv(292, 38%, 73%)
CMYKcmyk(5.3%, 38%, 0%, 26.7%)
CIE-LABlab(57.49, 35.88, -27.75)
CIE-LCHlch(57.49, 45.36, 322.28°)
OKLaboklab(64.8% 0.0964 -0.076)
OKLCHoklch(64.8% 0.123 321.8)
XYZxyz(33.3454, 25.4269, 50.1554)
Luminance0.2543 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B174BB #7EBB74
analogous
#8E74BB #B174BB #BB74A2
triadic
#B174BB #BBB174 #74BBB1
tetradic
#B174BB #BB8E74 #7EBB74 #74A2BB
square
#B174BB #BB8E74 #7EBB74 #74A2BB
split-complementary
#B174BB #A2BB74 #74BB8E
monochromatic
#713B79 #974FA2 #B174BB #C89DCF #DFC6E3

Accessibility & contrast

On white

3.45
#B174BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#B174BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B174BB
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B174BB#FFFFFF#000000##000000
##B174BB1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C86BE
Deuteranopia (green-blind)
#7B8CB9
Tritanopia (blue-blind)
#B37C8F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b174bb;
/* rgb */ color: rgb(177, 116, 187);
/* oklch */ color: oklch(64.8% 0.123 321.8);
Tailwind
colors: {
  custom: {
    50: '#c99dcf',
    500: '#b174bb',
    950: '#000000',
  },
}
SCSS
$custom: #b174bb;
$custom-light: #c99dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#b174bb",
  "rgb": {
    "r": 177,
    "g": 116,
    "b": 187
  },
  "hsl": {
    "h": 291.549,
    "s": 34.3,
    "l": 59.412
  },
  "oklch": {
    "l": 0.64798,
    "c": 0.12273,
    "h": 321.8
  },
  "luminance": 0.25426
}

Semantic roles & 50–950 ramp

primary
#B174BB
secondary
#BBD3B8
accent
#CA5D6D
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #B174BB

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

Preview Lab → · Contrast checker → · Palette generator →

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