#B74CBA#B74CBA

#B74CBA is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.7% C 0.191 H 326.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B74CBA
RGBrgb(183, 76, 186)
HSLhsl(298, 44%, 51%)
HSVhsv(298, 59%, 73%)
CMYKcmyk(1.6%, 59.1%, 0%, 27.1%)
CIE-LABlab(50.43, 57.73, -38.14)
CIE-LCHlch(50.43, 69.19, 326.55°)
OKLaboklab(59.71% 0.1595 -0.1053)
OKLCHoklch(59.71% 0.191 326.6)
XYZxyz(30.9752, 18.7832, 48.4389)
Luminance0.1878 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74CBA #4FBA4C
analogous
#804CBA #B74CBA #BA4C86
triadic
#B74CBA #BAB74C #4CBAB7
tetradic
#B74CBA #BA804C #4FBA4C #4C86BA
square
#B74CBA #BA804C #4FBA4C #4C86BA
split-complementary
#B74CBA #86BA4C #4CBA80
monochromatic
#632765 #8F3891 #B74CBA #C978CB #DBA4DC

Accessibility & contrast

On white

4.42
#B74CBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#B74CBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74CBA
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74CBA#FFFFFF#000000##000000
##B74CBA1.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E6FBD
Deuteranopia (green-blind)
#637DB7
Tritanopia (blue-blind)
#BC5A7C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b74cba;
/* rgb */ color: rgb(183, 76, 186);
/* oklch */ color: oklch(59.7% 0.191 326.6);
Tailwind
colors: {
  custom: {
    50: '#cf84cf',
    500: '#b74cba',
    950: '#000000',
  },
}
SCSS
$custom: #b74cba;
$custom-light: #cf84cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b74cba",
  "rgb": {
    "r": 183,
    "g": 76,
    "b": 186
  },
  "hsl": {
    "h": 298.364,
    "s": 44.355,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59712,
    "c": 0.19115,
    "h": 326.6
  },
  "luminance": 0.18781
}

Semantic roles & 50–950 ramp

primary
#B74CBA
secondary
#9AC999
accent
#D45457
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B74CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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