#B74CDC#B74CDC

#B74CDC is a mid, highly saturated purple. Relative luminance 0.204; OKLCH L 61.7% C 0.222 H 316.2°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#B74CDC
RGBrgb(183, 76, 220)
HSLhsl(285, 67%, 58%)
HSVhsv(285, 65%, 86%)
CMYKcmyk(16.8%, 65.5%, 0%, 13.7%)
CIE-LABlab(52.29, 64.12, -54.70)
CIE-LCHlch(52.29, 84.28, 319.54°)
OKLaboklab(61.66% 0.1602 -0.1535)
OKLCHoklch(61.66% 0.222 316.2)
XYZxyz(35.0292, 20.4048, 69.7896)
Luminance0.2040 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74CDC #71DC4C
analogous
#6F4CDC #B74CDC #DC4CB9
triadic
#B74CDC #DCB74C #4CDCB7
tetradic
#B74CDC #DC6F4C #71DC4C #4CB9DC
square
#B74CDC #DC6F4C #71DC4C #4CB9DC
split-complementary
#B74CDC #B9DC4C #4CDC6F
monochromatic
#731C91 #9C26C4 #B74CDC #CC7FE6 #E0B2F0

Accessibility & contrast

On white

4.13
#B74CDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#B74CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74CDC
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74CDC#FFFFFF#000000##000000
##B74CDC1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0576E0
Deuteranopia (green-blind)
#4C80D9
Tritanopia (blue-blind)
#B5678E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b74cdc;
/* rgb */ color: rgb(183, 76, 220);
/* oklch */ color: oklch(61.7% 0.222 316.2);
Tailwind
colors: {
  custom: {
    50: '#d085e7',
    500: '#b74cdc',
    950: '#000000',
  },
}
SCSS
$custom: #b74cdc;
$custom-light: #d085e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b74cdc",
  "rgb": {
    "r": 183,
    "g": 76,
    "b": 220
  },
  "hsl": {
    "h": 284.583,
    "s": 67.29,
    "l": 58.039
  },
  "oklch": {
    "l": 0.61659,
    "c": 0.2219,
    "h": 316.2
  },
  "luminance": 0.20403
}

Semantic roles & 50–950 ramp

primary
#B74CDC
secondary
#B4DFA5
accent
#EA3E6A
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B74CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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