#B74EA6#B74EA6

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

Color values

HEX#B74EA6
RGBrgb(183, 78, 166)
HSLhsl(310, 42%, 51%)
HSVhsv(310, 57%, 72%)
CMYKcmyk(0%, 57.4%, 9.3%, 28.2%)
CIE-LABlab(49.82, 53.41, -27.40)
CIE-LCHlch(49.82, 60.03, 332.84°)
OKLaboklab(58.96% 0.1544 -0.0745)
OKLCHoklch(58.96% 0.171 334.2)
XYZxyz(29.1359, 18.2714, 38.0612)
Luminance0.1827 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74EA6 #4EB75F
analogous
#934EB7 #B74EA6 #B74E71
triadic
#B74EA6 #A6B74E #4EA6B7
tetradic
#B74EA6 #B7934E #4EB75F #4E71B7
square
#B74EA6 #B7934E #4EB75F #4E71B7
split-complementary
#B74EA6 #71B74E #4EB793
monochromatic
#632859 #8E3A80 #B74EA6 #C97ABC #DAA5D2

Accessibility & contrast

On white

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

On black

4.65
#B74EA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74EA6
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74EA6#FFFFFF#000000##000000
##B74EA61.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D6DA9
Deuteranopia (green-blind)
#6D7CA3
Tritanopia (blue-blind)
#BF5573
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b74ea6;
/* rgb */ color: rgb(183, 78, 166);
/* oklch */ color: oklch(59.0% 0.171 334.2);
Tailwind
colors: {
  custom: {
    50: '#cf85c0',
    500: '#b74ea6',
    950: '#000000',
  },
}
SCSS
$custom: #b74ea6;
$custom-light: #cf85c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b74ea6",
  "rgb": {
    "r": 183,
    "g": 78,
    "b": 166
  },
  "hsl": {
    "h": 309.714,
    "s": 42.169,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58959,
    "c": 0.17143,
    "h": 334.2
  },
  "luminance": 0.18269
}

Semantic roles & 50–950 ramp

primary
#B74EA6
secondary
#99C8A1
accent
#D26A56
background
#FDF8FB
surface
#FAF0F7
border
#D3CBD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #B74EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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