#B74FA8#B74FA8

#B74FA8 is a mid, vivid purple. Relative luminance 0.185; OKLCH L 59.2% C 0.172 H 333.4°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#B74FA8
RGBrgb(183, 79, 168)
HSLhsl(309, 42%, 51%)
HSVhsv(309, 57%, 72%)
CMYKcmyk(0%, 56.8%, 8.2%, 28.2%)
CIE-LABlab(50.08, 53.28, -28.17)
CIE-LCHlch(50.08, 60.27, 332.13°)
OKLaboklab(59.18% 0.1534 -0.0767)
OKLCHoklch(59.18% 0.172 333.4)
XYZxyz(29.3923, 18.4885, 39.0587)
Luminance0.1849 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74FA8 #4FB75E
analogous
#924FB7 #B74FA8 #B74F74
triadic
#B74FA8 #A8B74F #4FA8B7
tetradic
#B74FA8 #B7924F #4FB75E #4F74B7
square
#B74FA8 #B7924F #4FB75E #4F74B7
split-complementary
#B74FA8 #74B74F #4FB792
monochromatic
#63295B #8F3A82 #B74FA8 #C97ABD #DBA6D3

Accessibility & contrast

On white

4.47
#B74FA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#B74FA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74FA8
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74FA8#FFFFFF#000000##000000
##B74FA81.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D6EAB
Deuteranopia (green-blind)
#6D7DA5
Tritanopia (blue-blind)
#BF5674
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b74fa8;
/* rgb */ color: rgb(183, 79, 168);
/* oklch */ color: oklch(59.2% 0.172 333.4);
Tailwind
colors: {
  custom: {
    50: '#cf86c2',
    500: '#b74fa8',
    950: '#000000',
  },
}
SCSS
$custom: #b74fa8;
$custom-light: #cf86c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b74fa8",
  "rgb": {
    "r": 183,
    "g": 79,
    "b": 168
  },
  "hsl": {
    "h": 308.654,
    "s": 41.935,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59179,
    "c": 0.1715,
    "h": 333.4
  },
  "luminance": 0.18486
}

Semantic roles & 50–950 ramp

primary
#B74FA8
secondary
#9AC8A1
accent
#D26856
background
#FDF8FB
surface
#FAF0F7
border
#D3CBD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #B74FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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