#B74FC5#B74FC5

#B74FC5 is a mid, vivid purple. Relative luminance 0.197; OKLCH L 60.7% C 0.197 H 322.8°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#B74FC5
RGBrgb(183, 79, 197)
HSLhsl(293, 50%, 54%)
HSVhsv(293, 60%, 77%)
CMYKcmyk(7.1%, 59.9%, 0%, 22.7%)
CIE-LABlab(51.49, 58.39, -42.83)
CIE-LCHlch(51.49, 72.42, 323.74°)
OKLaboklab(60.66% 0.1566 -0.1189)
OKLCHoklch(60.66% 0.197 322.8)
XYZxyz(32.4015, 19.6921, 54.9068)
Luminance0.1969 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74FC5 #5DC54F
analogous
#7C4FC5 #B74FC5 #C54F98
triadic
#B74FC5 #C5B74F #4FC5B7
tetradic
#B74FC5 #C57C4F #5DC54F #4F98C5
square
#B74FC5 #C57C4F #5DC54F #4F98C5
split-complementary
#B74FC5 #98C54F #4FC57C
monochromatic
#6A2674 #9535A2 #B74FC5 #CA7DD4 #DDABE3

Accessibility & contrast

On white

4.25
#B74FC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#B74FC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74FC5
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74FC5#FFFFFF#000000##000000
##B74FC51.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3873C9
Deuteranopia (green-blind)
#5F7FC2
Tritanopia (blue-blind)
#BA6083
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b74fc5;
/* rgb */ color: rgb(183, 79, 197);
/* oklch */ color: oklch(60.7% 0.197 322.8);
Tailwind
colors: {
  custom: {
    50: '#cf86d7',
    500: '#b74fc5',
    950: '#000000',
  },
}
SCSS
$custom: #b74fc5;
$custom-light: #cf86d7;
$custom-dark: #000000;
JSON
{
  "hex": "#b74fc5",
  "rgb": {
    "r": 183,
    "g": 79,
    "b": 197
  },
  "hsl": {
    "h": 292.881,
    "s": 50.427,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60663,
    "c": 0.19661,
    "h": 322.8
  },
  "luminance": 0.1969
}

Semantic roles & 50–950 ramp

primary
#B74FC5
secondary
#A5D19F
accent
#DA4E5E
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #B74FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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