#B74EC2#B74EC2

#B74EC2 is a mid, vivid purple. Relative luminance 0.194; OKLCH L 60.4% C 0.195 H 323.8°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#B74EC2
RGBrgb(183, 78, 194)
HSLhsl(294, 49%, 53%)
HSVhsv(294, 60%, 76%)
CMYKcmyk(5.7%, 59.8%, 0%, 23.9%)
CIE-LABlab(51.17, 58.29, -41.61)
CIE-LCHlch(51.17, 71.62, 324.48°)
OKLaboklab(60.38% 0.1576 -0.1154)
OKLCHoklch(60.38% 0.195 323.8)
XYZxyz(31.9895, 19.4128, 53.0905)
Luminance0.1941 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74EC2 #59C24E
analogous
#7D4EC2 #B74EC2 #C24E93
triadic
#B74EC2 #C2B74E #4EC2B7
tetradic
#B74EC2 #C27D4E #59C24E #4E93C2
square
#B74EC2 #C27D4E #59C24E #4E93C2
split-complementary
#B74EC2 #93C24E #4EC27D
monochromatic
#68266F #93369D #B74EC2 #CA7CD2 #DCA9E1

Accessibility & contrast

On white

4.30
#B74EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#B74EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74EC2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74EC2#FFFFFF#000000##000000
##B74EC21.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A72C6
Deuteranopia (green-blind)
#607EBF
Tritanopia (blue-blind)
#BA5F81
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b74ec2;
/* rgb */ color: rgb(183, 78, 194);
/* oklch */ color: oklch(60.4% 0.195 323.8);
Tailwind
colors: {
  custom: {
    50: '#cf86d5',
    500: '#b74ec2',
    950: '#000000',
  },
}
SCSS
$custom: #b74ec2;
$custom-light: #cf86d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b74ec2",
  "rgb": {
    "r": 183,
    "g": 78,
    "b": 194
  },
  "hsl": {
    "h": 294.31,
    "s": 48.739,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60379,
    "c": 0.19534,
    "h": 323.8
  },
  "luminance": 0.19411
}

Semantic roles & 50–950 ramp

primary
#B74EC2
secondary
#A2CF9D
accent
#D8505C
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #B74EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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