#B74EC1#B74EC1

#B74EC1 is a mid, vivid purple. Relative luminance 0.194; OKLCH L 60.3% C 0.194 H 324.1°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B74EC1
RGBrgb(183, 78, 193)
HSLhsl(295, 48%, 53%)
HSVhsv(295, 60%, 76%)
CMYKcmyk(5.2%, 59.6%, 0%, 24.3%)
CIE-LABlab(51.12, 58.10, -41.12)
CIE-LCHlch(51.12, 71.18, 324.72°)
OKLaboklab(60.33% 0.1576 -0.114)
OKLCHoklch(60.33% 0.194 324.1)
XYZxyz(31.8776, 19.3681, 52.5011)
Luminance0.1937 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74EC1 #58C14E
analogous
#7E4EC1 #B74EC1 #C14E91
triadic
#B74EC1 #C1B74E #4EC1B7
tetradic
#B74EC1 #C17E4E #58C14E #4E91C1
square
#B74EC1 #C17E4E #58C14E #4E91C1
split-complementary
#B74EC1 #91C14E #4EC17E
monochromatic
#68276E #93369B #B74EC1 #C97BD1 #DCA9E1

Accessibility & contrast

On white

4.31
#B74EC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#B74EC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74EC1
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74EC1#FFFFFF#000000##000000
##B74EC11.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B72C5
Deuteranopia (green-blind)
#607EBE
Tritanopia (blue-blind)
#BA5E80
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b74ec1;
/* rgb */ color: rgb(183, 78, 193);
/* oklch */ color: oklch(60.3% 0.194 324.1);
Tailwind
colors: {
  custom: {
    50: '#cf86d4',
    500: '#b74ec1',
    950: '#000000',
  },
}
SCSS
$custom: #b74ec1;
$custom-light: #cf86d4;
$custom-dark: #000000;
JSON
{
  "hex": "#b74ec1",
  "rgb": {
    "r": 183,
    "g": 78,
    "b": 193
  },
  "hsl": {
    "h": 294.783,
    "s": 48.117,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60325,
    "c": 0.19445,
    "h": 324.1
  },
  "luminance": 0.19366
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B74EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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