#B74FA2#B74FA2

#B74FA2 is a mid, vivid pink. Relative luminance 0.183; OKLCH L 58.9% C 0.167 H 336.0°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#B74FA2
RGBrgb(183, 79, 162)
HSLhsl(312, 42%, 51%)
HSVhsv(312, 57%, 72%)
CMYKcmyk(0%, 56.8%, 11.5%, 28.2%)
CIE-LABlab(49.82, 52.30, -25.04)
CIE-LCHlch(49.82, 57.98, 334.41°)
OKLaboklab(58.9% 0.1523 -0.0678)
OKLCHoklch(58.9% 0.167 336)
XYZxyz(28.8462, 18.2701, 36.1826)
Luminance0.1827 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74FA2 #4FB764
analogous
#984FB7 #B74FA2 #B74F6E
triadic
#B74FA2 #A2B74F #4FA2B7
tetradic
#B74FA2 #B7984F #4FB764 #4F6EB7
square
#B74FA2 #B7984F #4FB764 #4F6EB7
split-complementary
#B74FA2 #6EB74F #4FB798
monochromatic
#632957 #8F3A7E #B74FA2 #C97AB9 #DBA6D0

Accessibility & contrast

On white

4.51
#B74FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#B74FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74FA2
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74FA2#FFFFFF#000000##000000
##B74FA21.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#506DA5
Deuteranopia (green-blind)
#6F7C9F
Tritanopia (blue-blind)
#BF5471
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b74fa2;
/* rgb */ color: rgb(183, 79, 162);
/* oklch */ color: oklch(58.9% 0.167 336.0);
Tailwind
colors: {
  custom: {
    50: '#cf85bd',
    500: '#b74fa2',
    950: '#000000',
  },
}
SCSS
$custom: #b74fa2;
$custom-light: #cf85bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b74fa2",
  "rgb": {
    "r": 183,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 312.115,
    "s": 41.935,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58901,
    "c": 0.16673,
    "h": 336
  },
  "luminance": 0.18268
}

Semantic roles & 50–950 ramp

primary
#B74FA2
secondary
#9AC8A3
accent
#D26F56
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #B74FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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