#B74FAF#B74FAF

#B74FAF is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.5% C 0.177 H 330.6°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#B74FAF
RGBrgb(183, 79, 175)
HSLhsl(305, 42%, 51%)
HSVhsv(305, 57%, 72%)
CMYKcmyk(0%, 56.8%, 4.4%, 28.2%)
CIE-LABlab(50.40, 54.46, -31.78)
CIE-LCHlch(50.40, 63.05, 329.73°)
OKLaboklab(59.52% 0.1544 -0.087)
OKLCHoklch(59.52% 0.177 330.6)
XYZxyz(30.0621, 18.7564, 42.5861)
Luminance0.1875 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74FAF #4FB757
analogous
#8B4FB7 #B74FAF #B74F7B
triadic
#B74FAF #AFB74F #4FAFB7
tetradic
#B74FAF #B78B4F #4FB757 #4F7BB7
square
#B74FAF #B78B4F #4FB757 #4F7BB7
split-complementary
#B74FAF #7BB74F #4FB78B
monochromatic
#63295F #8F3A88 #B74FAF #C97AC3 #DBA6D6

Accessibility & contrast

On white

4.42
#B74FAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#B74FAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74FAF
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74FAF#FFFFFF#000000##000000
##B74FAF1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#496FB2
Deuteranopia (green-blind)
#6A7DAC
Tritanopia (blue-blind)
#BD5978
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b74faf;
/* rgb */ color: rgb(183, 79, 175);
/* oklch */ color: oklch(59.5% 0.177 330.6);
Tailwind
colors: {
  custom: {
    50: '#cf86c7',
    500: '#b74faf',
    950: '#000000',
  },
}
SCSS
$custom: #b74faf;
$custom-light: #cf86c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b74faf",
  "rgb": {
    "r": 183,
    "g": 79,
    "b": 175
  },
  "hsl": {
    "h": 304.615,
    "s": 41.935,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59516,
    "c": 0.17727,
    "h": 330.6
  },
  "luminance": 0.18754
}

Semantic roles & 50–950 ramp

primary
#B74FAF
secondary
#9AC89E
accent
#D26056
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B74FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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