#B74FC7#B74FC7

#B74FC7 is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.8% C 0.198 H 322.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#B74FC7
RGBrgb(183, 79, 199)
HSLhsl(292, 52%, 55%)
HSVhsv(292, 60%, 78%)
CMYKcmyk(8%, 60.3%, 0%, 22%)
CIE-LABlab(51.59, 58.76, -43.82)
CIE-LCHlch(51.59, 73.30, 323.29°)
OKLaboklab(60.77% 0.1567 -0.1218)
OKLCHoklch(60.77% 0.198 322.1)
XYZxyz(32.6321, 19.7844, 56.1217)
Luminance0.1978 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74FC7 #5FC74F
analogous
#7B4FC7 #B74FC7 #C74F9B
triadic
#B74FC7 #C7B74F #4FC7B7
tetradic
#B74FC7 #C77B4F #5FC74F #4F9BC7
square
#B74FC7 #C77B4F #5FC74F #4F9BC7
split-complementary
#B74FC7 #9BC74F #4FC77B
monochromatic
#6B2676 #9634A4 #B74FC7 #CA7DD6 #DDACE5

Accessibility & contrast

On white

4.24
#B74FC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#B74FC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74FC7
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74FC7#FFFFFF#000000##000000
##B74FC71.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3673CB
Deuteranopia (green-blind)
#5E7FC4
Tritanopia (blue-blind)
#B96184
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b74fc7;
/* rgb */ color: rgb(183, 79, 199);
/* oklch */ color: oklch(60.8% 0.198 322.1);
Tailwind
colors: {
  custom: {
    50: '#d086d8',
    500: '#b74fc7',
    950: '#000000',
  },
}
SCSS
$custom: #b74fc7;
$custom-light: #d086d8;
$custom-dark: #000000;
JSON
{
  "hex": "#b74fc7",
  "rgb": {
    "r": 183,
    "g": 79,
    "b": 199
  },
  "hsl": {
    "h": 292,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60774,
    "c": 0.19844,
    "h": 322.1
  },
  "luminance": 0.19783
}

Semantic roles & 50–950 ramp

primary
#B74FC7
secondary
#A6D2A0
accent
#DB4D60
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #B74FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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