#B74FC2#B74FC2

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

Color values

HEX#B74FC2
RGBrgb(183, 79, 194)
HSLhsl(294, 49%, 54%)
HSVhsv(294, 59%, 76%)
CMYKcmyk(5.7%, 59.3%, 0%, 23.9%)
CIE-LABlab(51.33, 57.83, -41.35)
CIE-LCHlch(51.33, 71.10, 324.44°)
OKLaboklab(60.5% 0.1564 -0.1146)
OKLCHoklch(60.5% 0.194 323.8)
XYZxyz(32.0611, 19.5560, 53.1144)
Luminance0.1955 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74FC2 #5AC24F
analogous
#7D4FC2 #B74FC2 #C24F93
triadic
#B74FC2 #C2B74F #4FC2B7
tetradic
#B74FC2 #C27D4F #5AC24F #4F93C2
square
#B74FC2 #C27D4F #5AC24F #4F93C2
split-complementary
#B74FC2 #93C24F #4FC27D
monochromatic
#692770 #93379D #B74FC2 #CA7CD2 #DCAAE2

Accessibility & contrast

On white

4.28
#B74FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#B74FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74FC2
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74FC2#FFFFFF#000000##000000
##B74FC21.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b74fc2;
/* rgb */ color: rgb(183, 79, 194);
/* oklch */ color: oklch(60.5% 0.194 323.8);
Tailwind
colors: {
  custom: {
    50: '#cf86d5',
    500: '#b74fc2',
    950: '#000000',
  },
}
SCSS
$custom: #b74fc2;
$custom-light: #cf86d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b74fc2",
  "rgb": {
    "r": 183,
    "g": 79,
    "b": 194
  },
  "hsl": {
    "h": 294.261,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60499,
    "c": 0.1939,
    "h": 323.8
  },
  "luminance": 0.19554
}

Semantic roles & 50–950 ramp

primary
#B74FC2
secondary
#A2CF9E
accent
#D8505D
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #B74FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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