#B74EA8#B74EA8

#B74EA8 is a mid, vivid purple. Relative luminance 0.183; OKLCH L 59.1% C 0.173 H 333.4°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#B74EA8
RGBrgb(183, 78, 168)
HSLhsl(309, 42%, 51%)
HSVhsv(309, 57%, 72%)
CMYKcmyk(0%, 57.4%, 8.2%, 28.2%)
CIE-LABlab(49.91, 53.74, -28.44)
CIE-LCHlch(49.91, 60.80, 332.11°)
OKLaboklab(59.05% 0.1547 -0.0775)
OKLCHoklch(59.05% 0.173 333.4)
XYZxyz(29.3208, 18.3453, 39.0349)
Luminance0.1834 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74EA8 #4EB75D
analogous
#914EB7 #B74EA8 #B74E73
triadic
#B74EA8 #A8B74E #4EA8B7
tetradic
#B74EA8 #B7914E #4EB75D #4E73B7
square
#B74EA8 #B7914E #4EB75D #4E73B7
split-complementary
#B74EA8 #73B74E #4EB791
monochromatic
#63285A #8E3A82 #B74EA8 #C97ABD #DAA5D3

Accessibility & contrast

On white

4.50
#B74EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#B74EA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74EA8
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74EA8#FFFFFF#000000##000000
##B74EA81.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C6DAB
Deuteranopia (green-blind)
#6C7CA5
Tritanopia (blue-blind)
#BF5574
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b74ea8;
/* rgb */ color: rgb(183, 78, 168);
/* oklch */ color: oklch(59.1% 0.173 333.4);
Tailwind
colors: {
  custom: {
    50: '#cf85c2',
    500: '#b74ea8',
    950: '#000000',
  },
}
SCSS
$custom: #b74ea8;
$custom-light: #cf85c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b74ea8",
  "rgb": {
    "r": 183,
    "g": 78,
    "b": 168
  },
  "hsl": {
    "h": 308.571,
    "s": 42.169,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59053,
    "c": 0.17303,
    "h": 333.4
  },
  "luminance": 0.18343
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B74EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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