#B74FBA#B74FBA

#B74FBA is a mid, vivid purple. Relative luminance 0.192; OKLCH L 60.1% C 0.187 H 326.5°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#B74FBA
RGBrgb(183, 79, 186)
HSLhsl(298, 44%, 52%)
HSVhsv(298, 58%, 73%)
CMYKcmyk(1.6%, 57.5%, 0%, 27.1%)
CIE-LABlab(50.93, 56.38, -37.36)
CIE-LCHlch(50.93, 67.64, 326.47°)
OKLaboklab(60.07% 0.1557 -0.1031)
OKLCHoklch(60.07% 0.187 326.5)
XYZxyz(31.1868, 19.2063, 48.5094)
Luminance0.1920 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74FBA #52BA4F
analogous
#824FBA #B74FBA #BA4F88
triadic
#B74FBA #BAB74F #4FBAB7
tetradic
#B74FBA #BA824F #52BA4F #4F88BA
square
#B74FBA #BA824F #52BA4F #4F88BA
split-complementary
#B74FBA #88BA4F #4FBA82
monochromatic
#652866 #903992 #B74FBA #C97BCB #DBA7DC

Accessibility & contrast

On white

4.34
#B74FBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#B74FBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74FBA
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74FBA#FFFFFF#000000##000000
##B74FBA1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4271BD
Deuteranopia (green-blind)
#657EB7
Tritanopia (blue-blind)
#BC5C7D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b74fba;
/* rgb */ color: rgb(183, 79, 186);
/* oklch */ color: oklch(60.1% 0.187 326.5);
Tailwind
colors: {
  custom: {
    50: '#cf86cf',
    500: '#b74fba',
    950: '#000000',
  },
}
SCSS
$custom: #b74fba;
$custom-light: #cf86cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b74fba",
  "rgb": {
    "r": 183,
    "g": 79,
    "b": 186
  },
  "hsl": {
    "h": 298.318,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60073,
    "c": 0.18676,
    "h": 326.5
  },
  "luminance": 0.19204
}

Semantic roles & 50–950 ramp

primary
#B74FBA
secondary
#9CCA9B
accent
#D35458
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #B74FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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