#B74FD8#B74FD8

#B74FD8 is a mid, highly saturated purple. Relative luminance 0.206; OKLCH L 61.8% C 0.214 H 317.1°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#B74FD8
RGBrgb(183, 79, 216)
HSLhsl(286, 64%, 58%)
HSVhsv(286, 63%, 85%)
CMYKcmyk(15.3%, 63.4%, 0%, 15.3%)
CIE-LABlab(52.53, 62.03, -52.05)
CIE-LCHlch(52.53, 80.97, 320.00°)
OKLaboklab(61.76% 0.1569 -0.1458)
OKLCHoklch(61.76% 0.214 317.1)
XYZxyz(34.7173, 20.6185, 67.1034)
Luminance0.2062 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74FD8 #70D84F
analogous
#724FD8 #B74FD8 #D84FB5
triadic
#B74FD8 #D8B74F #4FD8B7
tetradic
#B74FD8 #D8724F #70D84F #4FB5D8
square
#B74FD8 #D8724F #70D84F #4FB5D8
split-complementary
#B74FD8 #B5D84F #4FD872
monochromatic
#731F8D #9C2ABF #B74FD8 #CB81E3 #E0B3EE

Accessibility & contrast

On white

4.10
#B74FD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#B74FD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74FD8
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74FD8#FFFFFF#000000##000000
##B74FD81.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F77DC
Deuteranopia (green-blind)
#5281D5
Tritanopia (blue-blind)
#B6678D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b74fd8;
/* rgb */ color: rgb(183, 79, 216);
/* oklch */ color: oklch(61.8% 0.214 317.1);
Tailwind
colors: {
  custom: {
    50: '#d087e5',
    500: '#b74fd8',
    950: '#000000',
  },
}
SCSS
$custom: #b74fd8;
$custom-light: #d087e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b74fd8",
  "rgb": {
    "r": 183,
    "g": 79,
    "b": 216
  },
  "hsl": {
    "h": 285.547,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.61755,
    "c": 0.21421,
    "h": 317.1
  },
  "luminance": 0.20617
}

Semantic roles & 50–950 ramp

primary
#B74FD8
secondary
#B3DDA6
accent
#E74169
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B74FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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