#B74DC2#B74DC2

#B74DC2 is a mid, vivid purple. Relative luminance 0.193; OKLCH L 60.3% C 0.197 H 323.8°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#B74DC2
RGBrgb(183, 77, 194)
HSLhsl(294, 49%, 53%)
HSVhsv(294, 60%, 76%)
CMYKcmyk(5.7%, 60.3%, 0%, 23.9%)
CIE-LABlab(51.00, 58.73, -41.87)
CIE-LCHlch(51.00, 72.13, 324.52°)
OKLaboklab(60.26% 0.1588 -0.1161)
OKLCHoklch(60.26% 0.197 323.8)
XYZxyz(31.9190, 19.2718, 53.0670)
Luminance0.1927 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74DC2 #58C24D
analogous
#7C4DC2 #B74DC2 #C24D92
triadic
#B74DC2 #C2B74D #4DC2B7
tetradic
#B74DC2 #C27C4D #58C24D #4D92C2
square
#B74DC2 #C27C4D #58C24D #4D92C2
split-complementary
#B74DC2 #92C24D #4DC27C
monochromatic
#68266F #93369C #B74DC2 #C97BD2 #DCA8E1

Accessibility & contrast

On white

4.33
#B74DC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#B74DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74DC2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74DC2#FFFFFF#000000##000000
##B74DC21.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3871C6
Deuteranopia (green-blind)
#5F7EBF
Tritanopia (blue-blind)
#BA5E80
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b74dc2;
/* rgb */ color: rgb(183, 77, 194);
/* oklch */ color: oklch(60.3% 0.197 323.8);
Tailwind
colors: {
  custom: {
    50: '#cf85d5',
    500: '#b74dc2',
    950: '#000000',
  },
}
SCSS
$custom: #b74dc2;
$custom-light: #cf85d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b74dc2",
  "rgb": {
    "r": 183,
    "g": 77,
    "b": 194
  },
  "hsl": {
    "h": 294.359,
    "s": 48.954,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60261,
    "c": 0.19677,
    "h": 323.8
  },
  "luminance": 0.1927
}

Semantic roles & 50–950 ramp

primary
#B74DC2
secondary
#A1CF9C
accent
#D94F5C
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B74DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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