#B74EB7#B74EB7

#B74EB7 is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.8% C 0.186 H 327.6°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#B74EB7
RGBrgb(183, 78, 183)
HSLhsl(300, 42%, 51%)
HSVhsv(300, 57%, 72%)
CMYKcmyk(0%, 57.4%, 0%, 28.2%)
CIE-LABlab(50.61, 56.30, -36.11)
CIE-LCHlch(50.61, 66.89, 327.33°)
OKLaboklab(59.8% 0.1567 -0.0995)
OKLCHoklch(59.8% 0.186 327.6)
XYZxyz(30.7996, 18.9369, 46.8235)
Luminance0.1893 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74EB7 #4EB74E
analogous
#824EB7 #B74EB7 #B74E82
triadic
#B74EB7 #B7B74E #4EB7B7
tetradic
#B74EB7 #B7824E #4EB74E #4E82B7
square
#B74EB7 #B7824E #4EB74E #4E82B7
split-complementary
#B74EB7 #82B74E #4EB782
monochromatic
#632863 #8E3A8E #B74EB7 #C97AC9 #DAA5DA

Accessibility & contrast

On white

4.39
#B74EB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#B74EB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74EB7
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74EB7#FFFFFF#000000##000000
##B74EB71.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4270BA
Deuteranopia (green-blind)
#667DB4
Tritanopia (blue-blind)
#BC5B7B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b74eb7;
/* rgb */ color: rgb(183, 78, 183);
/* oklch */ color: oklch(59.8% 0.186 327.6);
Tailwind
colors: {
  custom: {
    50: '#cf85cd',
    500: '#b74eb7',
    950: '#000000',
  },
}
SCSS
$custom: #b74eb7;
$custom-light: #cf85cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b74eb7",
  "rgb": {
    "r": 183,
    "g": 78,
    "b": 183
  },
  "hsl": {
    "h": 300,
    "s": 42.169,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59796,
    "c": 0.18562,
    "h": 327.6
  },
  "luminance": 0.18935
}

Semantic roles & 50–950 ramp

primary
#B74EB7
secondary
#99C899
accent
#D25656
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140B13
muted
#837C82

Preview Lab

Preview with #B74EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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