#B74EBC#B74EBC

#B74EBC is a mid, vivid purple. Relative luminance 0.191; OKLCH L 60.1% C 0.190 H 325.8°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#B74EBC
RGBrgb(183, 78, 188)
HSLhsl(297, 45%, 52%)
HSVhsv(297, 59%, 74%)
CMYKcmyk(2.7%, 58.5%, 0%, 26.3%)
CIE-LABlab(50.86, 57.20, -38.62)
CIE-LCHlch(50.86, 69.02, 325.97°)
OKLaboklab(60.06% 0.1572 -0.1067)
OKLCHoklch(60.06% 0.19 325.8)
XYZxyz(31.3293, 19.1487, 49.6131)
Luminance0.1915 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74EBC #53BC4E
analogous
#804EBC #B74EBC #BC4E8A
triadic
#B74EBC #BCB74E #4EBCB7
tetradic
#B74EBC #BC804E #53BC4E #4E8ABC
square
#B74EBC #BC804E #53BC4E #4E8ABC
split-complementary
#B74EBC #8ABC4E #4EBC80
monochromatic
#652768 #903895 #B74EBC #C97ACD #DBA7DE

Accessibility & contrast

On white

4.35
#B74EBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#B74EBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74EBC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74EBC#FFFFFF#000000##000000
##B74EBC1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F71BF
Deuteranopia (green-blind)
#637EB9
Tritanopia (blue-blind)
#BB5C7E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b74ebc;
/* rgb */ color: rgb(183, 78, 188);
/* oklch */ color: oklch(60.1% 0.190 325.8);
Tailwind
colors: {
  custom: {
    50: '#cf86d0',
    500: '#b74ebc',
    950: '#000000',
  },
}
SCSS
$custom: #b74ebc;
$custom-light: #cf86d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b74ebc",
  "rgb": {
    "r": 183,
    "g": 78,
    "b": 188
  },
  "hsl": {
    "h": 297.273,
    "s": 45.082,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60057,
    "c": 0.18999,
    "h": 325.8
  },
  "luminance": 0.19147
}

Semantic roles & 50–950 ramp

primary
#B74EBC
secondary
#9DCB9B
accent
#D55359
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #B74EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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