#B74FD2#B74FD2

#B74FD2 is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.4% C 0.209 H 318.8°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#B74FD2
RGBrgb(183, 79, 210)
HSLhsl(288, 59%, 57%)
HSVhsv(288, 62%, 82%)
CMYKcmyk(12.9%, 62.4%, 0%, 17.6%)
CIE-LABlab(52.19, 60.86, -49.17)
CIE-LCHlch(52.19, 78.24, 321.06°)
OKLaboklab(61.4% 0.157 -0.1374)
OKLCHoklch(61.4% 0.209 318.8)
XYZxyz(33.9557, 20.3139, 63.0926)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74FD2 #6AD24F
analogous
#764FD2 #B74FD2 #D24FAB
triadic
#B74FD2 #D2B74F #4FD2B7
tetradic
#B74FD2 #D2764F #6AD24F #4FABD2
square
#B74FD2 #D2764F #6AD24F #4FABD2
split-complementary
#B74FD2 #ABD24F #4FD276
monochromatic
#702285 #9A2EB5 #B74FD2 #CB80DE #DFB0EB

Accessibility & contrast

On white

4.15
#B74FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#B74FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74FD2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74FD2#FFFFFF#000000##000000
##B74FD21.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2976D6
Deuteranopia (green-blind)
#5780CF
Tritanopia (blue-blind)
#B7658A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b74fd2;
/* rgb */ color: rgb(183, 79, 210);
/* oklch */ color: oklch(61.4% 0.209 318.8);
Tailwind
colors: {
  custom: {
    50: '#d087e0',
    500: '#b74fd2',
    950: '#000000',
  },
}
SCSS
$custom: #b74fd2;
$custom-light: #d087e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b74fd2",
  "rgb": {
    "r": 183,
    "g": 79,
    "b": 210
  },
  "hsl": {
    "h": 287.634,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61401,
    "c": 0.2086,
    "h": 318.8
  },
  "luminance": 0.20312
}

Semantic roles & 50–950 ramp

primary
#B74FD2
secondary
#AFD9A4
accent
#E24566
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B74FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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