#B74EA7#B74EA7

#B74EA7 is a mid, vivid purple. Relative luminance 0.183; OKLCH L 59.0% C 0.172 H 333.8°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#B74EA7
RGBrgb(183, 78, 167)
HSLhsl(309, 42%, 51%)
HSVhsv(309, 57%, 72%)
CMYKcmyk(0%, 57.4%, 8.7%, 28.2%)
CIE-LABlab(49.87, 53.57, -27.92)
CIE-LCHlch(49.87, 60.41, 332.48°)
OKLaboklab(59.01% 0.1546 -0.076)
OKLCHoklch(59.01% 0.172 333.8)
XYZxyz(29.2280, 18.3082, 38.5461)
Luminance0.1831 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74EA7 #4EB75E
analogous
#924EB7 #B74EA7 #B74E72
triadic
#B74EA7 #A7B74E #4EA7B7
tetradic
#B74EA7 #B7924E #4EB75E #4E72B7
square
#B74EA7 #B7924E #4EB75E #4E72B7
split-complementary
#B74EA7 #72B74E #4EB792
monochromatic
#63285A #8E3A81 #B74EA7 #C97ABD #DAA5D2

Accessibility & contrast

On white

4.51
#B74EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#B74EA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74EA7
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74EA7#FFFFFF#000000##000000
##B74EA71.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C6DAA
Deuteranopia (green-blind)
#6C7CA4
Tritanopia (blue-blind)
#BF5573
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b74ea7;
/* rgb */ color: rgb(183, 78, 167);
/* oklch */ color: oklch(59.0% 0.172 333.8);
Tailwind
colors: {
  custom: {
    50: '#cf85c1',
    500: '#b74ea7',
    950: '#000000',
  },
}
SCSS
$custom: #b74ea7;
$custom-light: #cf85c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b74ea7",
  "rgb": {
    "r": 183,
    "g": 78,
    "b": 167
  },
  "hsl": {
    "h": 309.143,
    "s": 42.169,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59006,
    "c": 0.17223,
    "h": 333.8
  },
  "luminance": 0.18306
}

Semantic roles & 50–950 ramp

primary
#B74EA7
secondary
#99C8A0
accent
#D26956
background
#FDF8FB
surface
#FAF0F7
border
#D3CBD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #B74EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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