#B174CB#B174CB

#B174CB is a light, vivid purple. Relative luminance 0.262; OKLCH L 65.5% C 0.140 H 315.2°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#B174CB
RGBrgb(177, 116, 203)
HSLhsl(282, 46%, 63%)
HSVhsv(282, 43%, 80%)
CMYKcmyk(12.8%, 42.9%, 0%, 20.4%)
CIE-LABlab(58.18, 39.17, -35.78)
CIE-LCHlch(58.18, 53.05, 317.59°)
OKLaboklab(65.54% 0.0997 -0.099)
OKLCHoklch(65.54% 0.14 315.2)
XYZxyz(35.1547, 26.1506, 59.6840)
Luminance0.2615 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B174CB #8ECB74
analogous
#8574CB #B174CB #CB74BA
triadic
#B174CB #CBB174 #74CBB1
tetradic
#B174CB #CB8574 #8ECB74 #74BACB
square
#B174CB #CB8574 #8ECB74 #74BACB
split-complementary
#B174CB #BACB74 #74CB85
monochromatic
#74368F #9847BA #B174CB #CAA1DC #E3CDEC

Accessibility & contrast

On white

3.37
#B174CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#B174CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B174CB
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B174CB#FFFFFF#000000##000000
##B174CB1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6488CE
Deuteranopia (green-blind)
#748EC9
Tritanopia (blue-blind)
#B08096
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b174cb;
/* rgb */ color: rgb(177, 116, 203);
/* oklch */ color: oklch(65.5% 0.140 315.2);
Tailwind
colors: {
  custom: {
    50: '#ca9ddb',
    500: '#b174cb',
    950: '#000000',
  },
}
SCSS
$custom: #b174cb;
$custom-light: #ca9ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#b174cb",
  "rgb": {
    "r": 177,
    "g": 116,
    "b": 203
  },
  "hsl": {
    "h": 282.069,
    "s": 45.55,
    "l": 62.549
  },
  "oklch": {
    "l": 0.65543,
    "c": 0.14047,
    "h": 315.2
  },
  "luminance": 0.2615
}

Semantic roles & 50–950 ramp

primary
#B174CB
secondary
#C7DDBE
accent
#B92D57
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #B174CB

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

Preview Lab → · Contrast checker → · Palette generator →

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