#B74FB2#B74FB2

#B74FB2 is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.7% C 0.180 H 329.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#B74FB2
RGBrgb(183, 79, 178)
HSLhsl(303, 42%, 51%)
HSVhsv(303, 57%, 72%)
CMYKcmyk(0%, 56.8%, 2.7%, 28.2%)
CIE-LABlab(50.54, 54.97, -33.31)
CIE-LCHlch(50.54, 64.28, 328.79°)
OKLaboklab(59.67% 0.1548 -0.0914)
OKLCHoklch(59.67% 0.18 329.4)
XYZxyz(30.3600, 18.8756, 44.1551)
Luminance0.1887 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74FB2 #4FB754
analogous
#884FB7 #B74FB2 #B74F7E
triadic
#B74FB2 #B2B74F #4FB2B7
tetradic
#B74FB2 #B7884F #4FB754 #4F7EB7
square
#B74FB2 #B7884F #4FB754 #4F7EB7
split-complementary
#B74FB2 #7EB74F #4FB788
monochromatic
#632960 #8F3A8A #B74FB2 #C97AC5 #DBA6D8

Accessibility & contrast

On white

4.40
#B74FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#B74FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74FB2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74FB2#FFFFFF#000000##000000
##B74FB21.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#476FB5
Deuteranopia (green-blind)
#687DAF
Tritanopia (blue-blind)
#BD5A79
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b74fb2;
/* rgb */ color: rgb(183, 79, 178);
/* oklch */ color: oklch(59.7% 0.180 329.4);
Tailwind
colors: {
  custom: {
    50: '#cf86c9',
    500: '#b74fb2',
    950: '#000000',
  },
}
SCSS
$custom: #b74fb2;
$custom-light: #cf86c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b74fb2",
  "rgb": {
    "r": 183,
    "g": 79,
    "b": 178
  },
  "hsl": {
    "h": 302.885,
    "s": 41.935,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59665,
    "c": 0.17982,
    "h": 329.4
  },
  "luminance": 0.18874
}

Semantic roles & 50–950 ramp

primary
#B74FB2
secondary
#9AC89C
accent
#D25C56
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #B74FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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