#B174BC#B174BC

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

Color values

HEX#B174BC
RGBrgb(177, 116, 188)
HSLhsl(291, 35%, 60%)
HSVhsv(291, 38%, 74%)
CMYKcmyk(5.9%, 38.3%, 0%, 26.3%)
CIE-LABlab(57.53, 36.08, -28.26)
CIE-LCHlch(57.53, 45.83, 321.93°)
OKLaboklab(64.84% 0.0966 -0.0774)
OKLCHoklch(64.84% 0.124 321.3)
XYZxyz(33.4529, 25.4698, 50.7212)
Luminance0.2547 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B174BC #7FBC74
analogous
#8D74BC #B174BC #BC74A3
triadic
#B174BC #BCB174 #74BCB1
tetradic
#B174BC #BC8D74 #7FBC74 #74A3BC
square
#B174BC #BC8D74 #7FBC74 #74A3BC
split-complementary
#B174BC #A3BC74 #74BC8D
monochromatic
#713B7B #974FA4 #B174BC #C89DD0 #DFC7E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B174BC#FFFFFF#000000##000000
##B174BC1.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)
#6B86BF
Deuteranopia (green-blind)
#7B8DBA
Tritanopia (blue-blind)
#B37C8F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b174bc;
/* rgb */ color: rgb(177, 116, 188);
/* oklch */ color: oklch(64.8% 0.124 321.3);
Tailwind
colors: {
  custom: {
    50: '#c99dd0',
    500: '#b174bc',
    950: '#000000',
  },
}
SCSS
$custom: #b174bc;
$custom-light: #c99dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#b174bc",
  "rgb": {
    "r": 177,
    "g": 116,
    "b": 188
  },
  "hsl": {
    "h": 290.833,
    "s": 34.951,
    "l": 59.608
  },
  "oklch": {
    "l": 0.64842,
    "c": 0.12381,
    "h": 321.3
  },
  "luminance": 0.25469
}

Semantic roles & 50–950 ramp

primary
#B174BC
secondary
#BCD4B8
accent
#CB5D6E
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #B174BC

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

Preview Lab → · Contrast checker → · Palette generator →

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